Index: src/ppc/full-codegen-ppc.cc |
diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc |
index 69bcc05749f1dcb8d311f945760f4db5cdb55f75..c71a95f6bff10a89bfbe488463e99c4b323c568d 100644 |
--- a/src/ppc/full-codegen-ppc.cc |
+++ b/src/ppc/full-codegen-ppc.cc |
@@ -890,15 +890,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(r4, scope_->ContextChainLength(scope_->ScriptScope())); |
- __ LoadP(r4, ContextOperand(r4, variable->interface()->Index())); |
+ __ LoadP(r4, ContextOperand(r4, interface->Index())); |
__ LoadP(r4, ContextOperand(r4, Context::EXTENSION_INDEX)); |
// Assign it. |