| Index: src/full-codegen/x64/full-codegen-x64.cc
|
| diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc
|
| index 38102c556848fb7d30edf058b73de9221ba249db..77eb87db5f870e338cdadb397acba9254e835ed5 100644
|
| --- a/src/full-codegen/x64/full-codegen-x64.cc
|
| +++ b/src/full-codegen/x64/full-codegen-x64.cc
|
| @@ -726,7 +726,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();
|
| @@ -776,7 +775,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());
|
| @@ -1238,7 +1236,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);
|
|
|