| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index 7a2c09dda5d0d8343eb568fcfeb363fb66647f1f..24d448d585aa9253ac71cf9f16ca973d020e1e41 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -954,38 +954,6 @@ void FullCodeGenerator::VisitFunctionDeclaration(
|
| }
|
|
|
|
|
| -void FullCodeGenerator::VisitModuleDeclaration(ModuleDeclaration* declaration) {
|
| - Variable* variable = declaration->proxy()->var();
|
| - ModuleDescriptor* descriptor = declaration->module()->descriptor();
|
| - DCHECK(variable->location() == Variable::CONTEXT);
|
| - DCHECK(descriptor->IsFrozen());
|
| -
|
| - Comment cmnt(masm_, "[ ModuleDeclaration");
|
| - EmitDebugCheckDeclarationContext(variable);
|
| -
|
| - // Load instance object.
|
| - __ LoadContext(a1, scope_->ContextChainLength(scope_->ScriptScope()));
|
| - __ lw(a1, ContextOperand(a1, descriptor->Index()));
|
| - __ lw(a1, ContextOperand(a1, Context::EXTENSION_INDEX));
|
| -
|
| - // Assign it.
|
| - __ sw(a1, ContextOperand(cp, variable->index()));
|
| - // We know that we have written a module, which is not a smi.
|
| - __ RecordWriteContextSlot(cp,
|
| - Context::SlotOffset(variable->index()),
|
| - a1,
|
| - a3,
|
| - kRAHasBeenSaved,
|
| - kDontSaveFPRegs,
|
| - EMIT_REMEMBERED_SET,
|
| - OMIT_SMI_CHECK);
|
| - PrepareForBailoutForId(declaration->proxy()->id(), NO_REGISTERS);
|
| -
|
| - // Traverse into body.
|
| - Visit(declaration->module());
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::VisitImportDeclaration(ImportDeclaration* declaration) {
|
| VariableProxy* proxy = declaration->proxy();
|
| Variable* variable = proxy->var();
|
|
|