Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 36681fd7e5fac08c9cc23858093421e2cb735b40..c11e5e681afffc7fc3c1952e361a348306064a88 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -930,15 +930,16 @@ 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())); |
- __ lw(a1, ContextOperand(a1, variable->interface()->Index())); |
+ __ lw(a1, ContextOperand(a1, interface->Index())); |
__ lw(a1, ContextOperand(a1, Context::EXTENSION_INDEX)); |
// Assign it. |