Index: test/cctest/test-code-stubs-arm64.cc |
diff --git a/test/cctest/test-code-stubs-arm64.cc b/test/cctest/test-code-stubs-arm64.cc |
index 3591baa8c1136abb746ab6e4c1e7353f9c71340c..7d1bd4fd41d75a9e3b6183a1f869f255cca6eaa2 100644 |
--- a/test/cctest/test-code-stubs-arm64.cc |
+++ b/test/cctest/test-code-stubs-arm64.cc |
@@ -149,7 +149,7 @@ int32_t RunGeneratedCodeCallWrapper(ConvertDToIFunc func, |
Simulator::CallArgument(from), |
Simulator::CallArgument::End() |
}; |
- return static_cast<int32_t>(Simulator::current(Isolate::Current()) |
+ return static_cast<int32_t>(Simulator::current(CcTest::i_isolate()) |
->CallInt64(FUNCTION_ADDR(func), args)); |
#else |
return (*func)(from); |