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

Unified Diff: src/factory.h

Issue 2348493003: [builtins] move String.prototype[@@iterator] to C++ builtin (Closed)
Patch Set: V5 (try to make gcmole happy) 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
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index fc287694e66b4ce91832d0f6223d051311a8c71e..30361959f65ac856ba5b3db1aacbe75a810427ee 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -176,6 +176,9 @@ class Factory final {
MUST_USE_RESULT MaybeHandle<String> NewStringFromTwoByte(
const ZoneVector<uc16>* str, PretenureFlag pretenure = NOT_TENURED);
+ Handle<JSStringIterator> NewJSStringIterator();
Benedikt Meurer 2016/09/19 04:05:18 Remove this dead declaration.
caitp 2016/09/19 16:03:05 Done.
+ Handle<JSStringIterator> NewJSStringIterator(Handle<String> string);
+
// Allocates an internalized string in old space based on the character
// stream.
Handle<String> NewInternalizedStringFromUtf8(Vector<const char> str,
@@ -504,6 +507,8 @@ class Factory final {
Handle<JSDataView> NewJSDataView(Handle<JSArrayBuffer> buffer,
size_t byte_offset, size_t byte_length);
+ Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, bool done);
+
Handle<JSMap> NewJSMap();
Handle<JSSet> NewJSSet();

Powered by Google App Engine
This is Rietveld 408576698