| Index: test/cctest/test-disasm-arm.cc
|
| diff --git a/test/cctest/test-disasm-arm.cc b/test/cctest/test-disasm-arm.cc
|
| index c7c770f55530b2c04269ba35e95f580041234bdd..9f12232f75182e78d8524e0ceca3a941453b3241 100644
|
| --- a/test/cctest/test-disasm-arm.cc
|
| +++ b/test/cctest/test-disasm-arm.cc
|
| @@ -40,15 +40,6 @@
|
| using namespace v8::internal;
|
|
|
|
|
| -static v8::Persistent<v8::Context> env;
|
| -
|
| -static void InitializeVM() {
|
| - if (env.IsEmpty()) {
|
| - env = v8::Context::New();
|
| - }
|
| -}
|
| -
|
| -
|
| bool DisassembleAndCompare(byte* pc, const char* compare_string) {
|
| disasm::NameConverter converter;
|
| disasm::Disassembler disasm(converter);
|
| @@ -73,7 +64,7 @@ bool DisassembleAndCompare(byte* pc, const char* compare_string) {
|
| // disassembler. Declare the variables and allocate the data structures used
|
| // in the rest of the macros.
|
| #define SET_UP() \
|
| - InitializeVM(); \
|
| + CcTest::InitializeVM(); \
|
| Isolate* isolate = Isolate::Current(); \
|
| HandleScope scope(isolate); \
|
| byte *buffer = reinterpret_cast<byte*>(malloc(4*1024)); \
|
|
|