Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 7342038af014df3c36ba379ec9ee3d83edc5fef3..e3386a651d5a5bdab14f0135725b14397a4f24a4 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -954,15 +954,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(x1, scope_->ContextChainLength(scope_->ScriptScope())); |
- __ Ldr(x1, ContextMemOperand(x1, variable->interface()->Index())); |
+ __ Ldr(x1, ContextMemOperand(x1, interface->Index())); |
__ Ldr(x1, ContextMemOperand(x1, Context::EXTENSION_INDEX)); |
// Assign it. |