Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index 0b43f8439f008942ea75e377b3f2c8383da5ec4f..6171240e7864329f1f938a79e3f9e894fb303ef8 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -886,15 +886,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(eax, scope_->ContextChainLength(scope_->ScriptScope())); |
- __ mov(eax, ContextOperand(eax, variable->interface()->Index())); |
+ __ mov(eax, ContextOperand(eax, interface->Index())); |
__ mov(eax, ContextOperand(eax, Context::EXTENSION_INDEX)); |
// Assign it. |