| Index: src/scopeinfo.cc
|
| diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc
|
| index 64d6fe8642a57b617ee9a69d9cae38f139aa9f53..83856343810abe869cea55886d9ecd0b7b4852a1 100644
|
| --- a/src/scopeinfo.cc
|
| +++ b/src/scopeinfo.cc
|
| @@ -449,7 +449,7 @@ int SerializedScopeInfo::StackSlotIndex(String* name) {
|
|
|
| int SerializedScopeInfo::ContextSlotIndex(String* name, Variable::Mode* mode) {
|
| ASSERT(name->IsSymbol());
|
| - Isolate* isolate = Isolate::Current();
|
| + Isolate* isolate = GetIsolate();
|
| int result = isolate->context_slot_cache()->Lookup(this, name, mode);
|
| if (result != ContextSlotCache::kNotFound) return result;
|
| if (length() > 0) {
|
|
|