Revision: 24181
Author:   [email protected]
Date:     Wed Sep 24 12:01:21 2014 UTC
Log:      Fix windows build.
https://code.google.com/p/v8/source/detail?r=24181

Modified:
 /branches/bleeding_edge/src/compiler/representation-change.h

=======================================
--- /branches/bleeding_edge/src/compiler/representation-change.h Wed Sep 24 11:55:07 2014 UTC +++ /branches/bleeding_edge/src/compiler/representation-change.h Wed Sep 24 12:01:21 2014 UTC
@@ -126,10 +126,10 @@
       case IrOpcode::kInt32Constant:
         if (output_type & kTypeUint32) {
           uint32_t value = OpParameter<uint32_t>(node);
-          return jsgraph()->Float32Constant(value);
+          return jsgraph()->Float32Constant(static_cast<float>(value));
         } else {
           int32_t value = OpParameter<int32_t>(node);
-          return jsgraph()->Float32Constant(value);
+          return jsgraph()->Float32Constant(static_cast<float>(value));
         }
       case IrOpcode::kFloat32Constant:
         return node;  // No change necessary.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to