Index: test/unittests/interpreter/interpreter-assembler-unittest.cc |
diff --git a/test/unittests/interpreter/interpreter-assembler-unittest.cc b/test/unittests/interpreter/interpreter-assembler-unittest.cc |
index 68ff04298d339c93f1a287a466ea651da7c9373e..f80e8a3f8021e3ff659fbd3f29f7cc45372a4598 100644 |
--- a/test/unittests/interpreter/interpreter-assembler-unittest.cc |
+++ b/test/unittests/interpreter/interpreter-assembler-unittest.cc |
@@ -563,7 +563,7 @@ TARGET_TEST_F(InterpreterAssemblerTest, IntPtrAdd) { |
TRACED_FOREACH(interpreter::Bytecode, bytecode, kBytecodes) { |
InterpreterAssemblerTestState state(this, bytecode); |
InterpreterAssemblerForTest m(&state, bytecode); |
- Node* a = m.Int32Constant(0); |
+ Node* a = m.Parameter(0); |
Node* b = m.Int32Constant(1); |
Node* add = m.IntPtrAdd(a, b); |
EXPECT_THAT(add, IsIntPtrAdd(a, b)); |
@@ -574,7 +574,7 @@ TARGET_TEST_F(InterpreterAssemblerTest, IntPtrSub) { |
TRACED_FOREACH(interpreter::Bytecode, bytecode, kBytecodes) { |
InterpreterAssemblerTestState state(this, bytecode); |
InterpreterAssemblerForTest m(&state, bytecode); |
- Node* a = m.Int32Constant(0); |
+ Node* a = m.Parameter(0); |
Node* b = m.Int32Constant(1); |
Node* add = m.IntPtrSub(a, b); |
EXPECT_THAT(add, IsIntPtrSub(a, b)); |