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

Unified Diff: src/js/iterator-prototype.js

Issue 2348493003: [builtins] move String.prototype[@@iterator] to C++ builtin (Closed)
Patch Set: V8 (rebase + fix bytecode expectations) 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 | « src/heap/objects-visiting.cc ('k') | src/js/string-iterator.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/iterator-prototype.js
diff --git a/src/js/iterator-prototype.js b/src/js/iterator-prototype.js
deleted file mode 100644
index 6f2501979d07c03e4787494fcbfcd53f21947b05..0000000000000000000000000000000000000000
--- a/src/js/iterator-prototype.js
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright 2015 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-(function(global, utils) {
- "use strict";
- %CheckIsBootstrapping();
-
- var GlobalObject = global.Object;
- var IteratorPrototype = utils.ImportNow("IteratorPrototype");
- var iteratorSymbol = utils.ImportNow("iterator_symbol");
-
- // 25.1.2.1 %IteratorPrototype% [ @@iterator ] ( )
- function IteratorPrototypeIterator() {
- return this;
- }
-
- utils.SetFunctionName(IteratorPrototypeIterator, iteratorSymbol);
- %AddNamedProperty(IteratorPrototype, iteratorSymbol,
- IteratorPrototypeIterator, DONT_ENUM);
-})
« no previous file with comments | « src/heap/objects-visiting.cc ('k') | src/js/string-iterator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698