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