| Index: src/contexts.cc
|
| diff --git a/src/contexts.cc b/src/contexts.cc
|
| index d1151f7a811cedc8f6abfc08ca6aa5e396683da9..58ae49a9cc853a93c9aafef08b10cf5a50f3fc83 100644
|
| --- a/src/contexts.cc
|
| +++ b/src/contexts.cc
|
| @@ -137,7 +137,8 @@ Handle<Object> Context::Lookup(Handle<String> name,
|
| }
|
| VariableMode mode;
|
| InitializationFlag init_flag;
|
| - int slot_index = scope_info->ContextSlotIndex(*name, &mode, &init_flag);
|
| + int slot_index =
|
| + ScopeInfo::ContextSlotIndex(scope_info, name, &mode, &init_flag);
|
| ASSERT(slot_index < 0 || slot_index >= MIN_CONTEXT_SLOTS);
|
| if (slot_index >= 0) {
|
| if (FLAG_trace_contexts) {
|
|
|