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

Unified Diff: src/messages.js

Issue 1127983003: Use function wrapper argument to expose internal arrays to native scripts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased and fixed nits Created 5 years, 7 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/math.js ('k') | src/object-observe.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.js
diff --git a/src/messages.js b/src/messages.js
index b9503cff9cd261c16202891e65ab4f2ad5d30f06..60a9c432f2ffd39e9f22e048baa7b64ecd25d583 100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -35,7 +35,14 @@ var MakeTypeErrorEmbedded;
%CheckIsBootstrapping();
+// -------------------------------------------------------------------
+// Imports
+
var GlobalObject = global.Object;
+var InternalArray = shared.InternalArray;
+
+// -------------------------------------------------------------------
+
var GlobalError;
var GlobalTypeError;
var GlobalRangeError;
@@ -44,8 +51,6 @@ var GlobalSyntaxError;
var GlobalReferenceError;
var GlobalEvalError;
-// -------------------------------------------------------------------
-
var kMessages = {
// Error
constructor_is_generator: ["Class constructor may not be a generator"],
« no previous file with comments | « src/math.js ('k') | src/object-observe.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698