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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, |
82 Handle<Object> debug_id, Handle<Object> debug_name, | 82 Handle<Object> debug_id, Handle<Object> debug_name, |
83 Handle<Context> context); | 83 Handle<Context> context); |
84 | 84 |
85 // Create a new PrototypeInfo struct. | 85 // Create a new PrototypeInfo struct. |
86 Handle<PrototypeInfo> NewPrototypeInfo(); | 86 Handle<PrototypeInfo> NewPrototypeInfo(); |
87 | 87 |
| 88 // Create a new Tuple2 struct. |
| 89 Handle<Tuple2> NewTuple2(Handle<Object> value1, Handle<Object> value2); |
| 90 |
88 // Create a new Tuple3 struct. | 91 // Create a new Tuple3 struct. |
89 Handle<Tuple3> NewTuple3(Handle<Object> value1, Handle<Object> value2, | 92 Handle<Tuple3> NewTuple3(Handle<Object> value1, Handle<Object> value2, |
90 Handle<Object> value3); | 93 Handle<Object> value3); |
91 | 94 |
92 // Create a new ContextExtension struct. | 95 // Create a new ContextExtension struct. |
93 Handle<ContextExtension> NewContextExtension(Handle<ScopeInfo> scope_info, | 96 Handle<ContextExtension> NewContextExtension(Handle<ScopeInfo> scope_info, |
94 Handle<Object> extension); | 97 Handle<Object> extension); |
95 | 98 |
96 // Create a pre-tenured empty AccessorPair. | 99 // Create a pre-tenured empty AccessorPair. |
97 Handle<AccessorPair> NewAccessorPair(); | 100 Handle<AccessorPair> NewAccessorPair(); |
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 FunctionMode function_mode); | 799 FunctionMode function_mode); |
797 | 800 |
798 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, | 801 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, |
799 FunctionMode function_mode); | 802 FunctionMode function_mode); |
800 }; | 803 }; |
801 | 804 |
802 } // namespace internal | 805 } // namespace internal |
803 } // namespace v8 | 806 } // namespace v8 |
804 | 807 |
805 #endif // V8_FACTORY_H_ | 808 #endif // V8_FACTORY_H_ |
OLD | NEW |