Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index fc7b1155d940a74fc780385df4b13bd0b896969c..547258a55373fe21e13e726587b8bfe6eee16bfa 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -1819,7 +1819,8 @@ void BytecodeGenerator::BuildVariableLoad(Variable* variable, |
break; |
} |
case VariableLocation::UNALLOCATED: { |
- builder()->LoadGlobal(feedback_index(slot), typeof_mode); |
+ builder()->LoadGlobal(variable->name(), feedback_index(slot), |
+ typeof_mode); |
break; |
} |
case VariableLocation::CONTEXT: { |