| Index: src/profiler/heap-snapshot-generator.cc
|
| diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc
|
| index 9273168f808b3d5c16b21cc0fb0656eeeed70f4a..9f36797ff3cf119e30cc28cae08259f62107de81 100644
|
| --- a/src/profiler/heap-snapshot-generator.cc
|
| +++ b/src/profiler/heap-snapshot-generator.cc
|
| @@ -1216,8 +1216,7 @@ void V8HeapExplorer::ExtractContextReferences(int entry, Context* context) {
|
| }
|
| if (scope_info->HasFunctionName()) {
|
| String* name = scope_info->FunctionName();
|
| - VariableMode mode;
|
| - int idx = scope_info->FunctionContextSlotIndex(name, &mode);
|
| + int idx = scope_info->FunctionContextSlotIndex(name);
|
| if (idx >= 0) {
|
| SetContextReference(context, entry, name, context->get(idx),
|
| Context::OffsetOfElementAt(idx));
|
|
|