| Index: test/cctest/test-disasm-arm.cc
|
| diff --git a/test/cctest/test-disasm-arm.cc b/test/cctest/test-disasm-arm.cc
|
| index 58e18a6e48b45de0337933579a2c5f26436cab7a..c7c770f55530b2c04269ba35e95f580041234bdd 100644
|
| --- a/test/cctest/test-disasm-arm.cc
|
| +++ b/test/cctest/test-disasm-arm.cc
|
| @@ -72,11 +72,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;
|
|
|
|
|
|
|