Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 30e0682039b22cd04737ce8029734179d610d942..885f3ba2759493b761341418ca03e3b12a5f3023 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -957,15 +957,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(r1, scope_->ContextChainLength(scope_->ScriptScope())); |
- __ ldr(r1, ContextOperand(r1, variable->interface()->Index())); |
+ __ ldr(r1, ContextOperand(r1, interface->Index())); |
__ ldr(r1, ContextOperand(r1, Context::EXTENSION_INDEX)); |
// Assign it. |