Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index b1d82f8b2fd7707b38f705de3b78b5e9f6aaf0b2..cbff3a7eeaa66f82cc88d36419f5d72266acd790 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -765,7 +765,6 @@ void FullCodeGenerator::VisitVariableDeclaration( |
VariableProxy* proxy = declaration->proxy(); |
Variable* variable = proxy->var(); |
switch (variable->location()) { |
- case VariableLocation::GLOBAL: |
case VariableLocation::UNALLOCATED: { |
DCHECK(!variable->binding_needs_init()); |
FeedbackVectorSlot slot = proxy->VariableFeedbackSlot(); |
@@ -816,7 +815,6 @@ void FullCodeGenerator::VisitFunctionDeclaration( |
VariableProxy* proxy = declaration->proxy(); |
Variable* variable = proxy->var(); |
switch (variable->location()) { |
- case VariableLocation::GLOBAL: |
case VariableLocation::UNALLOCATED: { |
FeedbackVectorSlot slot = proxy->VariableFeedbackSlot(); |
DCHECK(!slot.IsInvalid()); |
@@ -1288,7 +1286,6 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, |
// Three cases: global variables, lookup variables, and all other types of |
// variables. |
switch (var->location()) { |
- case VariableLocation::GLOBAL: |
case VariableLocation::UNALLOCATED: { |
Comment cmnt(masm_, "[ Global variable"); |
EmitGlobalVariableLoad(proxy, typeof_mode); |