Index: test/cctest/test-compiler.cc |
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc |
index 7700a980d2fd0b84232133c2ffc5eea4545ac653..807adbf7f401d7c8f43dd4551ec204492bc514ea 100644 |
--- a/test/cctest/test-compiler.cc |
+++ b/test/cctest/test-compiler.cc |
@@ -100,10 +100,11 @@ static MaybeObject* GetGlobalProperty(const char* name) { |
static void SetGlobalProperty(const char* name, Object* value) { |
+ Isolate* isolate = Isolate::Current(); |
Handle<Object> object(value); |
Handle<String> symbol = FACTORY->LookupAsciiSymbol(name); |
Handle<JSObject> global(Isolate::Current()->context()->global_object()); |
- SetProperty(global, symbol, object, NONE, kNonStrictMode); |
+ SetProperty(isolate, global, symbol, object, NONE, kNonStrictMode); |
} |