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

Side by Side Diff: src/factory.h

Issue 2314903004: [promises] Move PromiseResolveThenableJob to c++ (Closed)
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « src/compiler/types.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/isolate.h" 8 #include "src/isolate.h"
9 #include "src/messages.h" 9 #include "src/messages.h"
10 #include "src/type-feedback-vector.h" 10 #include "src/type-feedback-vector.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 Handle<FrameArray> NewFrameArray(int number_of_frames, 54 Handle<FrameArray> NewFrameArray(int number_of_frames,
55 PretenureFlag pretenure = NOT_TENURED); 55 PretenureFlag pretenure = NOT_TENURED);
56 56
57 Handle<OrderedHashSet> NewOrderedHashSet(); 57 Handle<OrderedHashSet> NewOrderedHashSet();
58 Handle<OrderedHashMap> NewOrderedHashMap(); 58 Handle<OrderedHashMap> NewOrderedHashMap();
59 59
60 // Create a new boxed value. 60 // Create a new boxed value.
61 Handle<Box> NewBox(Handle<Object> value); 61 Handle<Box> NewBox(Handle<Object> value);
62 62
63 // Create a new PromiseContainer struct.
64 Handle<PromiseContainer> NewPromiseContainer(
65 Handle<JSReceiver> thenable, Handle<JSFunction> then,
66 Handle<JSFunction> resolve, Handle<JSFunction> reject,
67 Handle<Object> before_debug_event, Handle<Object> after_debug_event);
68
63 // Create a new PrototypeInfo struct. 69 // Create a new PrototypeInfo struct.
64 Handle<PrototypeInfo> NewPrototypeInfo(); 70 Handle<PrototypeInfo> NewPrototypeInfo();
65 71
66 // Create a new ContextExtension struct. 72 // Create a new ContextExtension struct.
67 Handle<ContextExtension> NewContextExtension(Handle<ScopeInfo> scope_info, 73 Handle<ContextExtension> NewContextExtension(Handle<ScopeInfo> scope_info,
68 Handle<Object> extension); 74 Handle<Object> extension);
69 75
70 // Create a pre-tenured empty AccessorPair. 76 // Create a pre-tenured empty AccessorPair.
71 Handle<AccessorPair> NewAccessorPair(); 77 Handle<AccessorPair> NewAccessorPair();
72 78
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 FunctionMode function_mode); 764 FunctionMode function_mode);
759 765
760 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 766 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
761 FunctionMode function_mode); 767 FunctionMode function_mode);
762 }; 768 };
763 769
764 } // namespace internal 770 } // namespace internal
765 } // namespace v8 771 } // namespace v8
766 772
767 #endif // V8_FACTORY_H_ 773 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/compiler/types.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698