| Index: src/x64/full-codegen-x64.cc
|
| diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc
|
| index 790fed4a1c88dfe88bd3be1857ff292e7f92ecb1..faf9e74dcf3a66e4be499e655ef6915ab816ff91 100644
|
| --- a/src/x64/full-codegen-x64.cc
|
| +++ b/src/x64/full-codegen-x64.cc
|
| @@ -917,16 +917,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(rax, scope_->ContextChainLength(scope_->ScriptScope()));
|
| - __ movp(rax, ContextOperand(rax, interface->Index()));
|
| + __ movp(rax, ContextOperand(rax, descriptor->Index()));
|
| __ movp(rax, ContextOperand(rax, Context::EXTENSION_INDEX));
|
|
|
| // Assign it.
|
|
|