| Index: test/cctest/test-code-stubs-mips.cc
|
| diff --git a/test/cctest/test-code-stubs-mips.cc b/test/cctest/test-code-stubs-mips.cc
|
| index 19ef691e34431dd9b098fc316ecb91de48808dba..f1f1c01d749a224b7879925553194d73e18ce55f 100644
|
| --- a/test/cctest/test-code-stubs-mips.cc
|
| +++ b/test/cctest/test-code-stubs-mips.cc
|
| @@ -159,8 +159,9 @@ 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.);
|
| - return Simulator::current(Isolate::Current())->get_register(v0.code());
|
| + Simulator::current(CcTest::i_isolate())
|
| + ->CallFP(FUNCTION_ADDR(func), from, 0.);
|
| + return Simulator::current(CcTest::i_isolate())->get_register(v0.code());
|
| #else
|
| return (*func)(from);
|
| #endif
|
|
|