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/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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 // Create a new PromiseResolveThenableJobInfo struct. | 69 // Create a new PromiseResolveThenableJobInfo struct. |
70 Handle<PromiseResolveThenableJobInfo> NewPromiseResolveThenableJobInfo( | 70 Handle<PromiseResolveThenableJobInfo> NewPromiseResolveThenableJobInfo( |
71 Handle<JSReceiver> thenable, Handle<JSReceiver> then, | 71 Handle<JSReceiver> thenable, Handle<JSReceiver> then, |
72 Handle<JSFunction> resolve, Handle<JSFunction> reject, | 72 Handle<JSFunction> resolve, Handle<JSFunction> reject, |
73 Handle<Object> before_debug_event, Handle<Object> after_debug_event); | 73 Handle<Object> before_debug_event, Handle<Object> after_debug_event); |
74 | 74 |
75 // Create a new PrototypeInfo struct. | 75 // Create a new PrototypeInfo struct. |
76 Handle<PrototypeInfo> NewPrototypeInfo(); | 76 Handle<PrototypeInfo> NewPrototypeInfo(); |
77 | 77 |
| 78 // Create a new Tuple3 struct. |
| 79 Handle<Tuple3> NewTuple3(Handle<Object> value1, Handle<Object> value2, |
| 80 Handle<Object> value3); |
| 81 |
78 // Create a new ContextExtension struct. | 82 // Create a new ContextExtension struct. |
79 Handle<ContextExtension> NewContextExtension(Handle<ScopeInfo> scope_info, | 83 Handle<ContextExtension> NewContextExtension(Handle<ScopeInfo> scope_info, |
80 Handle<Object> extension); | 84 Handle<Object> extension); |
81 | 85 |
82 // Create a pre-tenured empty AccessorPair. | 86 // Create a pre-tenured empty AccessorPair. |
83 Handle<AccessorPair> NewAccessorPair(); | 87 Handle<AccessorPair> NewAccessorPair(); |
84 | 88 |
85 // Create an empty TypeFeedbackInfo. | 89 // Create an empty TypeFeedbackInfo. |
86 Handle<TypeFeedbackInfo> NewTypeFeedbackInfo(); | 90 Handle<TypeFeedbackInfo> NewTypeFeedbackInfo(); |
87 | 91 |
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 FunctionMode function_mode); | 783 FunctionMode function_mode); |
780 | 784 |
781 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, | 785 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, |
782 FunctionMode function_mode); | 786 FunctionMode function_mode); |
783 }; | 787 }; |
784 | 788 |
785 } // namespace internal | 789 } // namespace internal |
786 } // namespace v8 | 790 } // namespace v8 |
787 | 791 |
788 #endif // V8_FACTORY_H_ | 792 #endif // V8_FACTORY_H_ |
OLD | NEW |