| Index: src/prologue.js
|
| diff --git a/src/prologue.js b/src/prologue.js
|
| index 56f9ed5b38fa576f0a2c563877e37114d1b9ab8e..5a0832c25ba682273a6b00babaedf05a6f35f31c 100644
|
| --- a/src/prologue.js
|
| +++ b/src/prologue.js
|
| @@ -13,7 +13,6 @@
|
|
|
| var imports = UNDEFINED;
|
| var imports_from_experimental = UNDEFINED;
|
| -var exports_to_runtime = UNDEFINED;
|
| var exports_container = {};
|
|
|
| // Export to other scripts.
|
| @@ -25,13 +24,6 @@ function Export(f) {
|
| }
|
|
|
|
|
| -// Export to the native context for calls from the runtime.
|
| -function ExportToRuntime(f) {
|
| - f.next = exports_to_runtime;
|
| - exports_to_runtime = f;
|
| -}
|
| -
|
| -
|
| // Import from other scripts. The actual importing happens in PostNatives and
|
| // PostExperimental so that we can import from scripts executed later. However,
|
| // that means that the import is not available until the very end. If the
|
| @@ -173,13 +165,6 @@ function PostNatives(utils) {
|
| imports(exports_container);
|
| }
|
|
|
| - var runtime_container = {};
|
| - for ( ; !IS_UNDEFINED(exports_to_runtime);
|
| - exports_to_runtime = exports_to_runtime.next) {
|
| - exports_to_runtime(runtime_container);
|
| - }
|
| - %ImportToRuntime(runtime_container);
|
| -
|
| // Whitelist of exports from normal natives to experimental natives and debug.
|
| var expose_list = [
|
| "ArrayToString",
|
| @@ -235,12 +220,6 @@ function PostExperimentals(utils) {
|
| imports_from_experimental = imports_from_experimental.next) {
|
| imports_from_experimental(exports_container);
|
| }
|
| - var runtime_container = {};
|
| - for ( ; !IS_UNDEFINED(exports_to_runtime);
|
| - exports_to_runtime = exports_to_runtime.next) {
|
| - exports_to_runtime(runtime_container);
|
| - }
|
| - %ImportExperimentalToRuntime(runtime_container);
|
|
|
| exports_container = UNDEFINED;
|
| private_symbols = UNDEFINED;
|
| @@ -268,12 +247,11 @@ function PostDebug(utils) {
|
|
|
| // -----------------------------------------------------------------------
|
|
|
| -%OptimizeObjectForAddingMultipleProperties(utils, 15);
|
| +%OptimizeObjectForAddingMultipleProperties(utils, 14);
|
|
|
| utils.Import = Import;
|
| utils.ImportNow = ImportNow;
|
| utils.Export = Export;
|
| -utils.ExportToRuntime = ExportToRuntime;
|
| utils.ImportFromExperimental = ImportFromExperimental;
|
| utils.GetPrivateSymbol = GetPrivateSymbol;
|
| utils.SetFunctionName = SetFunctionName;
|
|
|