Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index 7e7a142538b334c6fd6c88c69d2479457bc65ff8..a21bba9bf7271c8d6eb420eb30d3a54460a96257 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -382,8 +382,9 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CastAccumulatorToJSObject() { |
return *this; |
} |
-BytecodeArrayBuilder& BytecodeArrayBuilder::CastAccumulatorToName() { |
- Output(Bytecode::kToName); |
+BytecodeArrayBuilder& BytecodeArrayBuilder::CastAccumulatorToName( |
+ Register out) { |
+ Output(Bytecode::kToName, RegisterOperand(out)); |
return *this; |
} |