Index: test/unittests/interpreter/bytecode-array-builder-unittest.cc |
diff --git a/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
index e13294de7603c797a6b11be323a9202f693e1b3c..f83ede0e5b817c4961ff88f31bddffc1b4524319 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -182,7 +182,7 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
// Emit cast operator invocations. |
builder.CastAccumulatorToNumber(reg) |
.CastAccumulatorToJSObject() |
- .CastAccumulatorToName(); |
+ .CastAccumulatorToName(reg); |
// Emit control flow. Return must be the last instruction. |
BytecodeLabel start; |