| Index: src/liveedit.cc
|
| diff --git a/src/liveedit.cc b/src/liveedit.cc
|
| index afa0e131994d21073fbf014148aa541bdc46b585..150dcb8892892d61ee86e7f0b2528f129f0d3ebd 100644
|
| --- a/src/liveedit.cc
|
| +++ b/src/liveedit.cc
|
| @@ -764,7 +764,10 @@ class FunctionInfoListener {
|
| ZoneList<Variable*> stack_list(current_scope->StackLocalCount(), zone);
|
| ZoneList<Variable*> context_list(
|
| current_scope->ContextLocalCount(), zone);
|
| - current_scope->CollectStackAndContextLocals(&stack_list, &context_list);
|
| + ZoneList<Variable*> globals_list(current_scope->ContextGlobalCount(),
|
| + zone);
|
| + current_scope->CollectStackAndContextLocals(&stack_list, &context_list,
|
| + &globals_list);
|
| context_list.Sort(&Variable::CompareIndex);
|
|
|
| for (int i = 0; i < context_list.length(); i++) {
|
|
|