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

Unified Diff: src/harmony-spread.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-regexp.js ('k') | src/harmony-tostring.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/harmony-spread.js
diff --git a/src/harmony-spread.js b/src/harmony-spread.js
index a523d26e38cac42a80812840d65a866f9685037a..8eade4b0e13d4751eeefd71baab8565c4af8b6e9 100644
--- a/src/harmony-spread.js
+++ b/src/harmony-spread.js
@@ -5,10 +5,16 @@
var $spreadArguments;
var $spreadIterable;
-(function(global, shared, exports) {
+(function(global, exports) {
'use strict';
+// -------------------------------------------------------------------
+// Imports
+var InternalArray = exports.InternalArray;
+
+// -------------------------------------------------------------------
+
function SpreadArguments() {
var count = %_ArgumentsLength();
var args = new InternalArray();
« no previous file with comments | « src/harmony-regexp.js ('k') | src/harmony-tostring.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698