Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index f4bd4179790f34409068a04ce518c46c6ecca4c7..f652b313ca9765f93e3db44157c7f323be9483e2 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5569,7 +5569,7 @@ void HOptimizedGraphBuilder::VisitVariableProxy(VariableProxy* expr) { |
int depth = scope()->ContextChainLength(variable->scope()); |
HLoadGlobalViaContext* instr = |
- New<HLoadGlobalViaContext>(variable->name(), depth, slot_index); |
+ New<HLoadGlobalViaContext>(depth, slot_index); |
return ast_context()->ReturnInstruction(instr, expr->id()); |
} else { |
@@ -6801,7 +6801,7 @@ void HOptimizedGraphBuilder::HandleGlobalVariableAssignment( |
int depth = scope()->ContextChainLength(var->scope()); |
HStoreGlobalViaContext* instr = Add<HStoreGlobalViaContext>( |
- var->name(), value, depth, slot_index, function_language_mode()); |
+ value, depth, slot_index, function_language_mode()); |
USE(instr); |
DCHECK(instr->HasObservableSideEffects()); |
Add<HSimulate>(ast_id, REMOVABLE_SIMULATE); |