| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index c5f498ad1f7b441c40766a06c7fc0b2a8b4169c0..1ef622edfd1831d51376b3986755bedd0d7d4383 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1508,14 +1508,12 @@ bool Isolate::is_out_of_memory() {
|
|
|
|
|
| Handle<Context> Isolate::native_context() {
|
| - GlobalObject* global = thread_local_top()->context_->global_object();
|
| - return Handle<Context>(global->native_context());
|
| + return Handle<Context>(context()->global_object()->native_context());
|
| }
|
|
|
|
|
| Handle<Context> Isolate::global_context() {
|
| - GlobalObject* global = thread_local_top()->context_->global_object();
|
| - return Handle<Context>(global->global_context());
|
| + return Handle<Context>(context()->global_object()->global_context());
|
| }
|
|
|
|
|
|
|