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

Side by Side Diff: src/factory.h

Issue 2645313003: [async-iteration] implement Async-from-Sync Iterator (Closed)
Patch Set: cleanmerge Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « src/deoptimizer.cc ('k') | src/factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_FACTORY_H_ 5 #ifndef V8_FACTORY_H_
6 #define V8_FACTORY_H_ 6 #define V8_FACTORY_H_
7 7
8 #include "src/feedback-vector.h" 8 #include "src/feedback-vector.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/isolate.h" 10 #include "src/isolate.h"
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 // Creates a new on-heap JSTypedArray. 551 // Creates a new on-heap JSTypedArray.
552 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind, 552 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind,
553 size_t number_of_elements, 553 size_t number_of_elements,
554 PretenureFlag pretenure = NOT_TENURED); 554 PretenureFlag pretenure = NOT_TENURED);
555 555
556 Handle<JSDataView> NewJSDataView(); 556 Handle<JSDataView> NewJSDataView();
557 Handle<JSDataView> NewJSDataView(Handle<JSArrayBuffer> buffer, 557 Handle<JSDataView> NewJSDataView(Handle<JSArrayBuffer> buffer,
558 size_t byte_offset, size_t byte_length); 558 size_t byte_offset, size_t byte_length);
559 559
560 Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, bool done); 560 Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, bool done);
561 Handle<JSAsyncFromSyncIterator> NewJSAsyncFromSyncIterator(
562 Handle<JSReceiver> sync_iterator);
561 563
562 Handle<JSMap> NewJSMap(); 564 Handle<JSMap> NewJSMap();
563 Handle<JSSet> NewJSSet(); 565 Handle<JSSet> NewJSSet();
564 566
565 // TODO(aandrey): Maybe these should take table, index and kind arguments. 567 // TODO(aandrey): Maybe these should take table, index and kind arguments.
566 Handle<JSMapIterator> NewJSMapIterator(); 568 Handle<JSMapIterator> NewJSMapIterator();
567 Handle<JSSetIterator> NewJSSetIterator(); 569 Handle<JSSetIterator> NewJSSetIterator();
568 570
569 // Allocates a bound function. 571 // Allocates a bound function.
570 MaybeHandle<JSBoundFunction> NewJSBoundFunction( 572 MaybeHandle<JSBoundFunction> NewJSBoundFunction(
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 838 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
837 FunctionMode function_mode); 839 FunctionMode function_mode);
838 840
839 void SetClassFunctionInstanceDescriptor(Handle<Map> map); 841 void SetClassFunctionInstanceDescriptor(Handle<Map> map);
840 }; 842 };
841 843
842 } // namespace internal 844 } // namespace internal
843 } // namespace v8 845 } // namespace v8
844 846
845 #endif // V8_FACTORY_H_ 847 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698