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

Unified Diff: src/json.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/harmony-typedarray.js ('k') | src/math.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/json.js
diff --git a/src/json.js b/src/json.js
index f5ac6cb87ad4ef92c12f83aff295c4d38faa6496..819811a236259f7857f174f498d78d155fbe4b91 100644
--- a/src/json.js
+++ b/src/json.js
@@ -10,7 +10,11 @@ var $jsonSerializeAdapter;
%CheckIsBootstrapping();
+// -------------------------------------------------------------------
+// Imports
+
var GlobalJSON = global.JSON;
+var InternalArray = shared.InternalArray;
// -------------------------------------------------------------------
« no previous file with comments | « src/harmony-typedarray.js ('k') | src/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698