| Index: test/cctest/test-code-stubs-mips64.cc
|
| diff --git a/test/cctest/test-code-stubs-mips64.cc b/test/cctest/test-code-stubs-mips64.cc
|
| index d8b047b0f0df78d5ce809123a05955db38953447..7b40d44c483ea27b860c6bdda3225da16832f45e 100644
|
| --- a/test/cctest/test-code-stubs-mips64.cc
|
| +++ b/test/cctest/test-code-stubs-mips64.cc
|
| @@ -157,9 +157,10 @@ static Isolate* GetIsolateFrom(LocalContext* context) {
|
| int32_t RunGeneratedCodeCallWrapper(ConvertDToIFunc func,
|
| double from) {
|
| #ifdef USE_SIMULATOR
|
| - Simulator::current(Isolate::Current())->CallFP(FUNCTION_ADDR(func), from, 0.);
|
| + Simulator::current(CcTest::i_isolate())
|
| + ->CallFP(FUNCTION_ADDR(func), from, 0.);
|
| return static_cast<int32_t>(
|
| - Simulator::current(Isolate::Current())->get_register(v0.code()));
|
| + Simulator::current(CcTest::i_isolate())->get_register(v0.code()));
|
| #else
|
| return (*func)(from);
|
| #endif
|
|
|