Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index 4194e85c2597f0f1eeaf4707f197bc72d6e8305c..04d42551b4b338b56eb85139d99159fcca3dbfec 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -387,8 +387,9 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CastAccumulatorToName() { |
return *this; |
} |
-BytecodeArrayBuilder& BytecodeArrayBuilder::CastAccumulatorToNumber() { |
- Output(Bytecode::kToNumber); |
+BytecodeArrayBuilder& BytecodeArrayBuilder::CastAccumulatorToNumber( |
+ Register out) { |
+ Output(Bytecode::kToNumber, RegisterOperand(out)); |
return *this; |
} |