Index: test/cctest/test-code-stub-assembler.cc |
diff --git a/test/cctest/test-code-stub-assembler.cc b/test/cctest/test-code-stub-assembler.cc |
index f81dce128b2859895aacd3f7c700e1cd0c4bcd6c..0ac11e3dc7cee10e5f7c7707aa131e19a90af829 100644 |
--- a/test/cctest/test-code-stub-assembler.cc |
+++ b/test/cctest/test-code-stub-assembler.cc |
@@ -1897,10 +1897,10 @@ TEST(AllocatePromiseReactionJobInfo) { |
CodeStubAssembler m(data.state()); |
Node* const context = m.Parameter(kNumParams + 2); |
- Node* const tasks = m.AllocateFixedArray(FAST_ELEMENTS, m.Int32Constant(1)); |
+ Node* const tasks = m.AllocateFixedArray(FAST_ELEMENTS, m.IntPtrConstant(1)); |
m.StoreFixedArrayElement(tasks, 0, m.UndefinedConstant()); |
Node* const deferred = |
- m.AllocateFixedArray(FAST_ELEMENTS, m.Int32Constant(1)); |
+ m.AllocateFixedArray(FAST_ELEMENTS, m.IntPtrConstant(1)); |
m.StoreFixedArrayElement(deferred, 0, m.UndefinedConstant()); |
Node* const info = m.AllocatePromiseReactionJobInfo(m.SmiConstant(1), tasks, |
deferred, context); |