Index: src/compiler/ia32/code-generator-ia32.cc |
diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc |
index 490e26b95050f4684f72dee48d5785bedc5cf49d..807d32d350408d3a9fdf6d86a342a38e85ad6a70 100644 |
--- a/src/compiler/ia32/code-generator-ia32.cc |
+++ b/src/compiler/ia32/code-generator-ia32.cc |
@@ -74,11 +74,9 @@ class IA32OperandConverter : public InstructionOperandConverter { |
case Constant::kInt32: |
return Immediate(constant.ToInt32()); |
case Constant::kFloat32: |
- return Immediate( |
- isolate()->factory()->NewNumber(constant.ToFloat32(), TENURED)); |
+ return Immediate::EmbeddedNumber(constant.ToFloat32()); |
case Constant::kFloat64: |
- return Immediate( |
- isolate()->factory()->NewNumber(constant.ToFloat64(), TENURED)); |
+ return Immediate::EmbeddedNumber(constant.ToFloat64()); |
case Constant::kExternalReference: |
return Immediate(constant.ToExternalReference()); |
case Constant::kHeapObject: |