| Index: test/cctest/test-assembler-mips.cc
|
| diff --git a/test/cctest/test-assembler-mips.cc b/test/cctest/test-assembler-mips.cc
|
| index 54ec43f18bf06b811788c3169dbd02a8e16665ae..f0be336a3bd6e9ff8b4517468b514becdccd929a 100644
|
| --- a/test/cctest/test-assembler-mips.cc
|
| +++ b/test/cctest/test-assembler-mips.cc
|
| @@ -49,7 +49,7 @@ typedef Object* (*F3)(void* p, int p1, int p2, int p3, int p4);
|
|
|
| TEST(MIPS0) {
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| MacroAssembler assm(isolate, NULL, 0);
|
| @@ -75,7 +75,7 @@ TEST(MIPS0) {
|
|
|
| TEST(MIPS1) {
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| MacroAssembler assm(isolate, NULL, 0);
|
| @@ -114,7 +114,7 @@ TEST(MIPS1) {
|
|
|
| TEST(MIPS2) {
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| MacroAssembler assm(isolate, NULL, 0);
|
| @@ -256,7 +256,7 @@ TEST(MIPS2) {
|
| TEST(MIPS3) {
|
| // Test floating point instructions.
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| typedef struct {
|
| @@ -346,7 +346,7 @@ TEST(MIPS3) {
|
| TEST(MIPS4) {
|
| // Test moves between floating point and integer registers.
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| typedef struct {
|
| @@ -403,7 +403,7 @@ TEST(MIPS4) {
|
| TEST(MIPS5) {
|
| // Test conversions between doubles and integers.
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| typedef struct {
|
| @@ -471,7 +471,7 @@ TEST(MIPS5) {
|
| TEST(MIPS6) {
|
| // Test simple memory loads and stores.
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| typedef struct {
|
| @@ -544,7 +544,7 @@ TEST(MIPS6) {
|
| TEST(MIPS7) {
|
| // Test floating point compare and branch instructions.
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| typedef struct {
|
| @@ -622,7 +622,7 @@ TEST(MIPS7) {
|
| TEST(MIPS8) {
|
| // Test ROTR and ROTRV instructions.
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| typedef struct {
|
| @@ -727,7 +727,7 @@ TEST(MIPS8) {
|
| TEST(MIPS9) {
|
| // Test BRANCH improvements.
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| MacroAssembler assm(isolate, NULL, 0);
|
| @@ -757,7 +757,7 @@ TEST(MIPS10) {
|
| // Test conversions between doubles and long integers.
|
| // Test hos the long ints map to FP regs pairs.
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| typedef struct {
|
| @@ -830,7 +830,7 @@ TEST(MIPS10) {
|
| TEST(MIPS11) {
|
| // Test LWL, LWR, SWL and SWR instructions.
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| typedef struct {
|
| @@ -974,7 +974,7 @@ TEST(MIPS11) {
|
|
|
| TEST(MIPS12) {
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| typedef struct {
|
| @@ -1066,7 +1066,7 @@ TEST(MIPS12) {
|
| TEST(MIPS13) {
|
| // Test Cvt_d_uw and Trunc_uw_d macros.
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| typedef struct {
|
| @@ -1125,7 +1125,7 @@ TEST(MIPS13) {
|
| TEST(MIPS14) {
|
| // Test round, floor, ceil, trunc, cvt.
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
|
|
| #define ROUND_STRUCT_ELEMENT(x) \
|
| @@ -1258,7 +1258,7 @@ TEST(MIPS14) {
|
| TEST(MIPS15) {
|
| // Test chaining of label usages within instructions (issue 1644).
|
| CcTest::InitializeVM();
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = CcTest::i_isolate();
|
| HandleScope scope(isolate);
|
| Assembler assm(isolate, NULL, 0);
|
|
|
|
|