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

Unified Diff: src/prologue.js

Issue 1282793002: Debugger: load debugger builtins as normal native JS. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: use InstallFunctions and InstallConstants Created 5 years, 4 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/messages.h ('k') | src/string.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/prologue.js
diff --git a/src/prologue.js b/src/prologue.js
index e7ad29e3587bfb1426d227a8d72a9f39894e5cf0..28c797617fd7f6b9008455a2fd299ab0ceb0ce94 100644
--- a/src/prologue.js
+++ b/src/prologue.js
@@ -209,6 +209,22 @@ function PostExperimentals(utils) {
experimental_exports = UNDEFINED;
utils.PostExperimentals = UNDEFINED;
+ utils.PostDebug = UNDEFINED;
+ utils.Import = UNDEFINED;
+ utils.Export = UNDEFINED;
+};
+
+
+function PostDebug(utils) {
+ for ( ; !IS_UNDEFINED(exports); exports = exports.next) {
+ exports(experimental_exports);
+ }
+ for ( ; !IS_UNDEFINED(imports); imports = imports.next) {
+ imports(experimental_exports);
+ }
+
+ utils.PostDebug = UNDEFINED;
+ utils.PostExperimentals = UNDEFINED;
utils.Import = UNDEFINED;
utils.Export = UNDEFINED;
};
@@ -227,6 +243,7 @@ InstallFunctions(utils, NONE, [
"SetUpLockedPrototype", SetUpLockedPrototype,
"PostNatives", PostNatives,
"PostExperimentals", PostExperimentals,
+ "PostDebug", PostDebug,
]);
})
« no previous file with comments | « src/messages.h ('k') | src/string.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698