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

Unified Diff: src/bootstrapper.cc

Issue 2368323002: [builtins] adapt arguments for Builtins::kIteratorPrototypeIterator (Closed)
Patch Set: Remove test flag Created 4 years, 3 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 | « no previous file | test/mjsunit/es6/regress/regress-650172.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 9d67e627e5e69f151dea840e172d4179dab79cef..dc6bfee3f470a6c1243184d9d97bd707dfac47ca 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -663,7 +663,7 @@ void Genesis::CreateIteratorMaps(Handle<JSFunction> empty) {
Handle<JSFunction> iterator_prototype_iterator = SimpleCreateFunction(
isolate(), factory()->NewStringFromAsciiChecked("[Symbol.iterator]"),
- Builtins::kIteratorPrototypeIterator, 0, false);
+ Builtins::kIteratorPrototypeIterator, 0, true);
iterator_prototype_iterator->shared()->set_native(true);
JSObject::AddProperty(iterator_prototype, factory()->iterator_symbol(),
« no previous file with comments | « no previous file | test/mjsunit/es6/regress/regress-650172.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698