Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index 9cb7364ab7968a6da4cf121f19662fb45cba2938..1d9983c33065c25591c060fda9128bbae7ccb1d9 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -3020,12 +3020,10 @@ void CodeGenerator::AssembleMove(InstructionOperand* source, |
} |
break; |
case Constant::kFloat32: |
- __ Move(dst, |
- isolate()->factory()->NewNumber(src.ToFloat32(), TENURED)); |
+ __ MoveNumber(dst, src.ToFloat32()); |
break; |
case Constant::kFloat64: |
- __ Move(dst, |
- isolate()->factory()->NewNumber(src.ToFloat64(), TENURED)); |
+ __ MoveNumber(dst, src.ToFloat64()); |
break; |
case Constant::kExternalReference: |
__ Move(dst, src.ToExternalReference()); |