Index: src/mips64/full-codegen-mips64.cc |
diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc |
index 6d2e4cec93d13ab1615028b739acf6e9c43c96f0..b3ed1bb9d83c5e759600275147152f5b8856092c 100644 |
--- a/src/mips64/full-codegen-mips64.cc |
+++ b/src/mips64/full-codegen-mips64.cc |
@@ -951,37 +951,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())); |
- __ ld(a1, ContextOperand(a1, descriptor->Index())); |
- __ ld(a1, ContextOperand(a1, Context::EXTENSION_INDEX)); |
- |
- // Assign it. |
- __ sd(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(); |