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 007b68c06517922872ec07602ae766837a17fb93..2d3c45d23001acfdf6807f006d484fc3b93ba708 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -108,7 +108,7 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
// Emit literal creation operations. |
builder.CreateRegExpLiteral(factory->NewStringFromStaticChars("a"), 0, 0) |
.CreateArrayLiteral(factory->NewFixedArray(1), 0, 0) |
- .CreateObjectLiteral(factory->NewFixedArray(1), 0, 0); |
+ .CreateObjectLiteral(factory->NewFixedArray(1), 0, 0, reg); |
// Call operations. |
builder.Call(reg, other, 0, 1) |
@@ -332,7 +332,7 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
builder.CreateRegExpLiteral(factory->NewStringFromStaticChars("wide_literal"), |
0, 0) |
.CreateArrayLiteral(factory->NewFixedArray(2), 0, 0) |
- .CreateObjectLiteral(factory->NewFixedArray(2), 0, 0); |
+ .CreateObjectLiteral(factory->NewFixedArray(2), 0, 0, reg); |
// Longer jumps requiring ConstantWide operand |
{ |