Index: test/cctest/test-assembler-arm64.cc |
diff --git a/test/cctest/test-assembler-arm64.cc b/test/cctest/test-assembler-arm64.cc |
index 41b1d7cbbb758ca57f642a647be843ff9db13e41..0a88ce9fb465676952ac8a8ef44f9f987a8a5b4e 100644 |
--- a/test/cctest/test-assembler-arm64.cc |
+++ b/test/cctest/test-assembler-arm64.cc |
@@ -160,12 +160,12 @@ static void InitializeVM() { |
#define RUN() \ |
simulator.RunFrom(reinterpret_cast<Instruction*>(buf)) |
-#define END() \ |
- __ Debug("End test.", __LINE__, TRACE_DISABLE | LOG_ALL); \ |
- core.Dump(&masm); \ |
- __ PopCalleeSavedRegisters(); \ |
- __ Ret(); \ |
- __ GetCode(NULL); |
+#define END() \ |
+ __ Debug("End test.", __LINE__, TRACE_DISABLE | LOG_ALL); \ |
+ core.Dump(&masm); \ |
+ __ PopCalleeSavedRegisters(); \ |
+ __ Ret(); \ |
+ __ GetCode(masm.isolate(), NULL); |
#define TEARDOWN() \ |
delete pdis; \ |
@@ -207,11 +207,11 @@ static void InitializeVM() { |
test_function(); \ |
} |
-#define END() \ |
- core.Dump(&masm); \ |
- __ PopCalleeSavedRegisters(); \ |
- __ Ret(); \ |
- __ GetCode(NULL); |
+#define END() \ |
+ core.Dump(&masm); \ |
+ __ PopCalleeSavedRegisters(); \ |
+ __ Ret(); \ |
+ __ GetCode(masm.isolate(), NULL); |
#define TEARDOWN() \ |
v8::base::OS::Free(buf, actual_size); |
@@ -11336,7 +11336,7 @@ TEST(pool_size) { |
HandleScope handle_scope(isolate); |
CodeDesc desc; |
- masm.GetCode(&desc); |
+ masm.GetCode(isolate, &desc); |
Handle<Code> code = isolate->factory()->NewCode(desc, 0, masm.CodeObject()); |
unsigned pool_count = 0; |