| Index: src/mips64/full-codegen-mips64.cc
|
| diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc
|
| index 67e4aaed35202a8842bd5ee484ac51de72dfba56..ca9fb2ae661d7496b38be66b0ac9eb9c9bda9be6 100644
|
| --- a/src/mips64/full-codegen-mips64.cc
|
| +++ b/src/mips64/full-codegen-mips64.cc
|
| @@ -947,14 +947,15 @@ void FullCodeGenerator::VisitFunctionDeclaration(
|
|
|
| void FullCodeGenerator::VisitModuleDeclaration(ModuleDeclaration* declaration) {
|
| Variable* variable = declaration->proxy()->var();
|
| + Interface* interface = declaration->module()->interface();
|
| DCHECK(variable->location() == Variable::CONTEXT);
|
| - DCHECK(variable->interface()->IsFrozen());
|
| + DCHECK(interface->IsFrozen());
|
| Comment cmnt(masm_, "[ ModuleDeclaration");
|
| EmitDebugCheckDeclarationContext(variable);
|
|
|
| // Load instance object.
|
| __ LoadContext(a1, scope_->ContextChainLength(scope_->ScriptScope()));
|
| - __ ld(a1, ContextOperand(a1, variable->interface()->Index()));
|
| + __ ld(a1, ContextOperand(a1, interface->Index()));
|
| __ ld(a1, ContextOperand(a1, Context::EXTENSION_INDEX));
|
|
|
| // Assign it.
|
|
|