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

Unified Diff: src/array-iterator.js

Issue 1378403004: [api] expose Array Iterators to API (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased u_u Created 5 years, 2 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/api.cc ('k') | src/contexts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/array-iterator.js
diff --git a/src/array-iterator.js b/src/array-iterator.js
index bf17a0ac8c8890e58908e2c918c34c821a5bb485..5b2d9d9454e86adc792f6ef60cfe6845a63b3dfd 100644
--- a/src/array-iterator.js
+++ b/src/array-iterator.js
@@ -163,6 +163,10 @@ TYPED_ARRAYS(EXTEND_TYPED_ARRAY)
$arrayValues = ArrayValues;
-%InstallToContext(["array_values_iterator", ArrayValues]);
+%InstallToContext([
+ "array_keys_iterator", ArrayKeys,
+ "array_values_iterator", ArrayValues,
+ "array_entries_iterator", ArrayEntries
+]);
})
« no previous file with comments | « src/api.cc ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698