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

Side by Side Diff: src/factory.h

Issue 2645313003: [async-iteration] implement Async-from-Sync Iterator (Closed)
Patch Set: attempt #3 to fix merge conflicts Created 3 years, 11 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
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/globals.h" 8 #include "src/globals.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/messages.h" 10 #include "src/messages.h"
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 // Creates a new on-heap JSTypedArray. 550 // Creates a new on-heap JSTypedArray.
551 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind, 551 Handle<JSTypedArray> NewJSTypedArray(ElementsKind elements_kind,
552 size_t number_of_elements, 552 size_t number_of_elements,
553 PretenureFlag pretenure = NOT_TENURED); 553 PretenureFlag pretenure = NOT_TENURED);
554 554
555 Handle<JSDataView> NewJSDataView(); 555 Handle<JSDataView> NewJSDataView();
556 Handle<JSDataView> NewJSDataView(Handle<JSArrayBuffer> buffer, 556 Handle<JSDataView> NewJSDataView(Handle<JSArrayBuffer> buffer,
557 size_t byte_offset, size_t byte_length); 557 size_t byte_offset, size_t byte_length);
558 558
559 Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, bool done); 559 Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, bool done);
560 Handle<JSAsyncFromSyncIterator> NewJSAsyncFromSyncIterator(
561 Handle<HeapObject> sync_iterator);
560 562
561 Handle<JSMap> NewJSMap(); 563 Handle<JSMap> NewJSMap();
562 Handle<JSSet> NewJSSet(); 564 Handle<JSSet> NewJSSet();
563 565
564 // TODO(aandrey): Maybe these should take table, index and kind arguments. 566 // TODO(aandrey): Maybe these should take table, index and kind arguments.
565 Handle<JSMapIterator> NewJSMapIterator(); 567 Handle<JSMapIterator> NewJSMapIterator();
566 Handle<JSSetIterator> NewJSSetIterator(); 568 Handle<JSSetIterator> NewJSSetIterator();
567 569
568 // Allocates a bound function. 570 // Allocates a bound function.
569 MaybeHandle<JSBoundFunction> NewJSBoundFunction( 571 MaybeHandle<JSBoundFunction> NewJSBoundFunction(
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 837 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
836 FunctionMode function_mode); 838 FunctionMode function_mode);
837 839
838 void SetClassFunctionInstanceDescriptor(Handle<Map> map); 840 void SetClassFunctionInstanceDescriptor(Handle<Map> map);
839 }; 841 };
840 842
841 } // namespace internal 843 } // namespace internal
842 } // namespace v8 844 } // namespace v8
843 845
844 #endif // V8_FACTORY_H_ 846 #endif // V8_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698