Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 494c65da194433e84166d6de53e23f675f7a7b08..c5749fcf3a6d472e83df5dc93e5403223c824698 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -950,16 +950,16 @@ void FullCodeGenerator::VisitFunctionDeclaration( |
void FullCodeGenerator::VisitModuleDeclaration(ModuleDeclaration* declaration) { |
Variable* variable = declaration->proxy()->var(); |
- Interface* interface = declaration->module()->interface(); |
+ ModuleDescriptor* descriptor = declaration->module()->descriptor(); |
DCHECK(variable->location() == Variable::CONTEXT); |
- DCHECK(interface->IsFrozen()); |
+ DCHECK(descriptor->IsFrozen()); |
Comment cmnt(masm_, "[ ModuleDeclaration"); |
EmitDebugCheckDeclarationContext(variable); |
// Load instance object. |
__ LoadContext(a1, scope_->ContextChainLength(scope_->ScriptScope())); |
- __ lw(a1, ContextOperand(a1, interface->Index())); |
+ __ lw(a1, ContextOperand(a1, descriptor->Index())); |
__ lw(a1, ContextOperand(a1, Context::EXTENSION_INDEX)); |
// Assign it. |