Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 319e92297d65fb370e11081f6db5e4c8904a473b..d0a9ba29d7caf0a14127aaa45f8a80adc780fc46 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -710,7 +710,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(); |
@@ -759,7 +758,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()); |
@@ -1201,7 +1199,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); |