Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Unified Diff: src/runtime/runtime-scopes.cc

Issue 2328283002: Revert of [modules] Basic support of exports (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime-object.cc ('k') | test/cctest/interpreter/bytecode_expectations/CallRuntime.golden » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime-scopes.cc
diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc
index c0b7efe1dca13d53843a6a3d5423764817baf381..c80ec91b539686f53e9c3cb55ad4da53138c0ea1 100644
--- a/src/runtime/runtime-scopes.cc
+++ b/src/runtime/runtime-scopes.cc
@@ -699,19 +699,6 @@
return *context;
}
-RUNTIME_FUNCTION(Runtime_PushModuleContext) {
- HandleScope scope(isolate);
- DCHECK_EQ(3, args.length());
- CONVERT_ARG_HANDLE_CHECKED(JSModule, module, 0);
- CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 1);
- CONVERT_ARG_HANDLE_CHECKED(ScopeInfo, scope_info, 2);
- DCHECK(function->context() == isolate->context());
-
- Handle<Context> context =
- isolate->factory()->NewModuleContext(module, function, scope_info);
- isolate->set_context(*context);
- return *context;
-}
RUNTIME_FUNCTION(Runtime_PushCatchContext) {
HandleScope scope(isolate);
« no previous file with comments | « src/runtime/runtime-object.cc ('k') | test/cctest/interpreter/bytecode_expectations/CallRuntime.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698