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 4af612f21239c50d6aa0d6bcc2e49f107b7e094a..cd7c9a3e3b803ec51a7173ebfb64cfa0c4983181 100644 |
--- a/test/cctest/test-code-stub-assembler.cc |
+++ b/test/cctest/test-code-stub-assembler.cc |
@@ -1807,9 +1807,8 @@ class AppendJSArrayCodeStubAssembler : public CodeStubAssembler { |
Variable arg_index(this, MachineType::PointerRepresentation()); |
Label bailout(this); |
arg_index.Bind(IntPtrConstant(0)); |
- Node* length = BuildAppendJSArray( |
- kind_, HeapConstant(Handle<HeapObject>(isolate->context(), isolate)), |
- HeapConstant(array), args, arg_index, &bailout); |
+ Node* length = BuildAppendJSArray(kind_, HeapConstant(array), args, |
+ arg_index, &bailout); |
Return(length); |
Bind(&bailout); |