Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 02bb780a0ee2af1f3b2a3899f5df0a3ad3fdae76..1de3a715272988ffc02d3282f789cc93ff097ff6 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -1877,7 +1877,7 @@ TEST(CodeSerializerCell) { |
masm->movp(rax, Operand(rax, 0)); |
masm->ret(0); |
CodeDesc desc; |
- masm->GetCode(&desc); |
+ masm->GetCode(isolate, &desc); |
code = isolate->factory()->NewCode(desc, Code::ComputeFlags(Code::FUNCTION), |
masm->CodeObject()); |
code->set_has_reloc_info_for_serialization(true); |
@@ -1926,7 +1926,7 @@ TEST(CodeSerializerEmbeddedObject) { |
MacroAssembler* masm = &assembler; |
masm->Push(number); |
CodeDesc desc; |
- masm->GetCode(&desc); |
+ masm->GetCode(isolate, &desc); |
code = isolate->factory()->NewCode(desc, Code::ComputeFlags(Code::FUNCTION), |
masm->CodeObject()); |
code->set_has_reloc_info_for_serialization(true); |