Revision: 24185
Author:   [email protected]
Date:     Wed Sep 24 13:55:29 2014 UTC
Log:      Fix bug in representation-change.h.

[email protected]
BUG=

Review URL: https://codereview.chromium.org/598933003
https://code.google.com/p/v8/source/detail?r=24185

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

=======================================
--- /branches/bleeding_edge/src/compiler/representation-change.h Wed Sep 24 12:01:21 2014 UTC +++ /branches/bleeding_edge/src/compiler/representation-change.h Wed Sep 24 13:55:29 2014 UTC
@@ -220,9 +220,9 @@
     switch (node->opcode()) {
       case IrOpcode::kInt32Constant:
         return node;  // No change necessary.
-      case IrOpcode::kNumberConstant:
       case IrOpcode::kFloat32Constant:
         return MakeInt32Constant(OpParameter<float>(node));
+      case IrOpcode::kNumberConstant:
       case IrOpcode::kFloat64Constant:
         return MakeInt32Constant(OpParameter<double>(node));
       default:

--
--
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