Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index 0c5238b64a65bcb6fd34290eb42db1e55c75c27c..77423a600c428661e61c02fb801427ad90e1ea2a 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -83,10 +83,6 @@ class Arm64OperandConverter final : public InstructionOperandConverter { |
return InputRegister64(index); |
} |
- Operand InputImmediate(size_t index) { |
- return ToImmediate(instr_->InputAt(index)); |
- } |
- |
Operand InputOperand(size_t index) { |
return ToOperand(instr_->InputAt(index)); |
} |
@@ -225,11 +221,9 @@ class Arm64OperandConverter final : public InstructionOperandConverter { |
return Operand(constant.ToInt64()); |
} |
case Constant::kFloat32: |
- return Operand( |
- isolate()->factory()->NewNumber(constant.ToFloat32(), TENURED)); |
+ return Operand(Operand::EmbeddedNumber(constant.ToFloat32())); |
case Constant::kFloat64: |
- return Operand( |
- isolate()->factory()->NewNumber(constant.ToFloat64(), TENURED)); |
+ return Operand(Operand::EmbeddedNumber(constant.ToFloat64())); |
case Constant::kExternalReference: |
return Operand(constant.ToExternalReference()); |
case Constant::kHeapObject: |