| Index: src/full-codegen/mips/full-codegen-mips.cc
|
| diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc
|
| index c92147474d029b5e743c0c96c9e624fc88dc4bec..ae0bc9ca781fc4a0a7f676cd553ce21527e187ac 100644
|
| --- a/src/full-codegen/mips/full-codegen-mips.cc
|
| +++ b/src/full-codegen/mips/full-codegen-mips.cc
|
| @@ -760,7 +760,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();
|
| @@ -811,7 +810,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());
|
| @@ -1284,7 +1282,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);
|
|
|