Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index e70ac4c378a431e3db6e3ba8859118c32fde1d2c..b76592238d732a643d98f0cd32649feb6f875891 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -893,16 +893,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(eax, scope_->ContextChainLength(scope_->ScriptScope())); |
- __ mov(eax, ContextOperand(eax, interface->Index())); |
+ __ mov(eax, ContextOperand(eax, descriptor->Index())); |
__ mov(eax, ContextOperand(eax, Context::EXTENSION_INDEX)); |
// Assign it. |