Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 06c381d96c4a7666aa58ddf2b4a02982aec557e0..ab055fde7dd2290af9416e68004ab660a0dc72b7 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -761,7 +761,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(); |
@@ -812,7 +811,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()); |
@@ -1275,7 +1273,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); |