Index: src/runtime/runtime-scopes.cc |
diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc |
index 1062719a00a163962a245e20bb71e5fe455321f2..7eb2e0cfc1703940ec9e5a0231a17248b7df3d15 100644 |
--- a/src/runtime/runtime-scopes.cc |
+++ b/src/runtime/runtime-scopes.cc |
@@ -801,13 +801,6 @@ RUNTIME_FUNCTION(Runtime_DeclareModules) { |
USE(result); |
break; |
} |
- case MODULE: { |
- Object* referenced_context = Context::cast(host_context)->get(index); |
- Handle<JSModule> value(Context::cast(referenced_context)->module()); |
- JSObject::SetOwnPropertyIgnoreAttributes(module, name, value, FROZEN) |
- .Assert(); |
- break; |
- } |
case INTERNAL: |
case TEMPORARY: |
case DYNAMIC: |