OLD | NEW |
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 // Create a new PromiseReactionJobInfo struct. | 72 // Create a new PromiseReactionJobInfo struct. |
73 Handle<PromiseReactionJobInfo> NewPromiseReactionJobInfo( | 73 Handle<PromiseReactionJobInfo> NewPromiseReactionJobInfo( |
74 Handle<JSPromise> promise, Handle<Object> value, Handle<Object> tasks, | 74 Handle<JSPromise> promise, Handle<Object> value, Handle<Object> tasks, |
75 Handle<Object> deferred_promise, Handle<Object> deferred_on_resolve, | 75 Handle<Object> deferred_promise, Handle<Object> deferred_on_resolve, |
76 Handle<Object> deferred_on_reject, Handle<Context> context); | 76 Handle<Object> deferred_on_reject, Handle<Context> context); |
77 | 77 |
78 // Create a new PromiseResolveThenableJobInfo struct. | 78 // Create a new PromiseResolveThenableJobInfo struct. |
79 Handle<PromiseResolveThenableJobInfo> NewPromiseResolveThenableJobInfo( | 79 Handle<PromiseResolveThenableJobInfo> NewPromiseResolveThenableJobInfo( |
80 Handle<JSReceiver> thenable, Handle<JSReceiver> then, | 80 Handle<JSReceiver> thenable, Handle<JSReceiver> then, |
81 Handle<JSFunction> resolve, Handle<JSFunction> reject, | 81 Handle<JSFunction> resolve, Handle<JSFunction> reject, int debug_id, |
82 Handle<Object> debug_id, Handle<Object> debug_name, | 82 int debug_name, Handle<Context> context); |
83 Handle<Context> context); | |
84 | 83 |
85 // Create a new PrototypeInfo struct. | 84 // Create a new PrototypeInfo struct. |
86 Handle<PrototypeInfo> NewPrototypeInfo(); | 85 Handle<PrototypeInfo> NewPrototypeInfo(); |
87 | 86 |
88 // Create a new Tuple2 struct. | 87 // Create a new Tuple2 struct. |
89 Handle<Tuple2> NewTuple2(Handle<Object> value1, Handle<Object> value2); | 88 Handle<Tuple2> NewTuple2(Handle<Object> value1, Handle<Object> value2); |
90 | 89 |
91 // Create a new Tuple3 struct. | 90 // Create a new Tuple3 struct. |
92 Handle<Tuple3> NewTuple3(Handle<Object> value1, Handle<Object> value2, | 91 Handle<Tuple3> NewTuple3(Handle<Object> value1, Handle<Object> value2, |
93 Handle<Object> value3); | 92 Handle<Object> value3); |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, | 808 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, |
810 FunctionMode function_mode); | 809 FunctionMode function_mode); |
811 | 810 |
812 void SetClassFunctionInstanceDescriptor(Handle<Map> map); | 811 void SetClassFunctionInstanceDescriptor(Handle<Map> map); |
813 }; | 812 }; |
814 | 813 |
815 } // namespace internal | 814 } // namespace internal |
816 } // namespace v8 | 815 } // namespace v8 |
817 | 816 |
818 #endif // V8_FACTORY_H_ | 817 #endif // V8_FACTORY_H_ |
OLD | NEW |