Reviewers: Michael Starzinger,

Description:
Unbreak MSVC build by respecting explicit FmtElm constructor.  This is
a real bug caught by MSVC but not g++.


BUG=
TEST=


Please review this at http://codereview.chromium.org/10700162/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/hydrogen-instructions.cc


Index: src/hydrogen-instructions.cc
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
index a3d8fca2caa2f18bb21630a8f60a2ef153a12387..d76c1d7c130db1cef50791602def1fac02431b1e 100644
--- a/src/hydrogen-instructions.cc
+++ b/src/hydrogen-instructions.cc
@@ -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 ", double_value_);
+    stream->Add("%lf ", FmtElm(double_value_));
   } else {
     handle()->ShortPrint(stream);
   }


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to