From: titzer@chromium.org Date: Wed, 24 Sep 2014 13:55:29 +0000 (+0000) Subject: Fix bug in representation-change.h. X-Git-Tag: upstream/4.7.83~6729 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f445883b274bcba05c46f97982cc30e28f912302;p=platform%2Fupstream%2Fv8.git 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 --- 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: