| Index: test/cctest/test-disasm-mips.cc
|
| diff --git a/test/cctest/test-disasm-mips.cc b/test/cctest/test-disasm-mips.cc
|
| index 1f8742452d5e5d135fde304e4ad9c3871d44dc98..37aa5eb06b8f769f92b3a66dd2d1cf49e096d098 100644
|
| --- a/test/cctest/test-disasm-mips.cc
|
| +++ b/test/cctest/test-disasm-mips.cc
|
| @@ -74,11 +74,12 @@ bool DisassembleAndCompare(byte* pc, const char* compare_string) {
|
| // Set up V8 to a state where we can at least run the assembler and
|
| // disassembler. Declare the variables and allocate the data structures used
|
| // in the rest of the macros.
|
| -#define SET_UP() \
|
| +#define SET_UP() \
|
| InitializeVM(); \
|
| - v8::HandleScope scope; \
|
| + Isolate* isolate = Isolate::Current(); \
|
| + HandleScope scope(isolate); \
|
| byte *buffer = reinterpret_cast<byte*>(malloc(4*1024)); \
|
| - Assembler assm(Isolate::Current(), buffer, 4*1024); \
|
| + Assembler assm(isolate, buffer, 4*1024); \
|
| bool failure = false;
|
|
|
|
|
|
|