From f445883b274bcba05c46f97982cc30e28f912302 Mon Sep 17 00:00:00 2001 From: "titzer@chromium.org" Date: Wed, 24 Sep 2014 13:55:29 +0000 Subject: [PATCH] Fix bug in representation-change.h. R=jarin@chromium.org BUG= Review URL: https://codereview.chromium.org/598933003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24185 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/compiler/representation-change.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/representation-change.h b/src/compiler/representation-change.h index bb3e357..f50a7ef 100644 --- a/src/compiler/representation-change.h +++ b/src/compiler/representation-change.h @@ -220,9 +220,9 @@ class RepresentationChanger { switch (node->opcode()) { case IrOpcode::kInt32Constant: return node; // No change necessary. - case IrOpcode::kNumberConstant: case IrOpcode::kFloat32Constant: return MakeInt32Constant(OpParameter(node)); + case IrOpcode::kNumberConstant: case IrOpcode::kFloat64Constant: return MakeInt32Constant(OpParameter(node)); default: -- 2.7.4