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

Unified Diff: test/mjsunit/runtime-gen/mapiteratorinitialize.js

Issue 259883002: ES6: Add support for Map and Set Iterator (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code review changes Created 6 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 | « test/mjsunit/runtime-gen/mapcreateiterator.js ('k') | test/mjsunit/runtime-gen/mapiteratornext.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/runtime-gen/mapiteratorinitialize.js
diff --git a/test/mjsunit/runtime-gen/mapcreateiterator.js b/test/mjsunit/runtime-gen/mapiteratorinitialize.js
similarity index 64%
rename from test/mjsunit/runtime-gen/mapcreateiterator.js
rename to test/mjsunit/runtime-gen/mapiteratorinitialize.js
index efc030ca8dddeb10e820d27c827f3f1988458f7e..afc5b2e10d96e4ed6e85bc07a16659c3a2ec42da 100644
--- a/test/mjsunit/runtime-gen/mapcreateiterator.js
+++ b/test/mjsunit/runtime-gen/mapiteratorinitialize.js
@@ -1,6 +1,7 @@
// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
-var _holder = new Map();
+var _holder = new Map().entries();
+var _map = new Map();
var _kind = 1;
-%MapCreateIterator(_holder, _kind);
+%MapIteratorInitialize(_holder, _map, _kind);
« no previous file with comments | « test/mjsunit/runtime-gen/mapcreateiterator.js ('k') | test/mjsunit/runtime-gen/mapiteratornext.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698