| Index: src/full-codegen/mips64/full-codegen-mips64.cc
|
| diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| index 83756f6d9ed046515e06b23a1c45201241def9ef..64ffa2ffff2221dd2eaa89e24365ef91c63ad8f2 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -1289,12 +1289,12 @@ void FullCodeGenerator::EmitDynamicLookupFastCase(VariableProxy* proxy,
|
|
|
| void FullCodeGenerator::EmitGlobalVariableLoad(VariableProxy* proxy,
|
| TypeofMode typeof_mode) {
|
| +#ifdef DEBUG
|
| Variable* var = proxy->var();
|
| DCHECK(var->IsUnallocatedOrGlobalSlot() ||
|
| (var->IsLookupSlot() && var->mode() == DYNAMIC_GLOBAL));
|
| - __ LoadGlobalObject(LoadDescriptor::ReceiverRegister());
|
| - __ li(LoadDescriptor::NameRegister(), Operand(var->name()));
|
| - __ li(LoadDescriptor::SlotRegister(),
|
| +#endif
|
| + __ li(LoadGlobalDescriptor::SlotRegister(),
|
| Operand(SmiFromSlot(proxy->VariableFeedbackSlot())));
|
| CallLoadGlobalIC(typeof_mode);
|
| }
|
|
|