| Index: test/cctest/test-compiler.cc
|
| diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc
|
| index cbabf3e261db0fad932a5984bb60d48b4d940432..dcb041c962f197682692dec9436be2390819010b 100644
|
| --- a/test/cctest/test-compiler.cc
|
| +++ b/test/cctest/test-compiler.cc
|
| @@ -125,7 +125,7 @@ static Handle<JSFunction> Compile(const char* source) {
|
| Handle<String>::null(),
|
| NOT_NATIVES_CODE);
|
| return FACTORY->NewFunctionFromSharedFunctionInfo(shared_function,
|
| - Isolate::Current()->global_context());
|
| + Isolate::Current()->native_context());
|
| }
|
|
|
|
|
|
|