Commit 610b705e authored by sanjoy@chromium.org's avatar sanjoy@chromium.org

HConstant::PrintDataTo() uses wrong format string

Review URL: https://chromiumcodereview.appspot.com/10783031
Patch from Zheng Liu <zheng.z.liu@intel.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12121 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 6d552f09
......@@ -1479,7 +1479,7 @@ void HConstant::PrintDataTo(StringStream* stream) {
if (has_int32_value_) {
stream->Add("%d ", int32_value_);
} else if (has_double_value_) {
stream->Add("%lf ", FmtElm(double_value_));
stream->Add("%f ", FmtElm(double_value_));
} else {
handle()->ShortPrint(stream);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment