OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_CODE_FACTORY_H_ | 5 #ifndef V8_CODE_FACTORY_H_ |
6 #define V8_CODE_FACTORY_H_ | 6 #define V8_CODE_FACTORY_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 static Callable AllocateHeapNumber(Isolate* isolate); | 96 static Callable AllocateHeapNumber(Isolate* isolate); |
97 static Callable AllocateMutableHeapNumber(Isolate* isolate); | 97 static Callable AllocateMutableHeapNumber(Isolate* isolate); |
98 static Callable AllocateInNewSpace(Isolate* isolate); | 98 static Callable AllocateInNewSpace(Isolate* isolate); |
99 | 99 |
100 static Callable ArgumentAdaptor(Isolate* isolate); | 100 static Callable ArgumentAdaptor(Isolate* isolate); |
101 static Callable Call(Isolate* isolate, | 101 static Callable Call(Isolate* isolate, |
102 ConvertReceiverMode mode = ConvertReceiverMode::kAny); | 102 ConvertReceiverMode mode = ConvertReceiverMode::kAny); |
103 static Callable CallFunction( | 103 static Callable CallFunction( |
104 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); | 104 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); |
105 static Callable Construct(Isolate* isolate); | 105 static Callable Construct(Isolate* isolate); |
| 106 static Callable ConstructFunction(Isolate* isolate); |
106 | 107 |
107 static Callable InterpreterPushArgsAndCall(Isolate* isolate); | 108 static Callable InterpreterPushArgsAndCall(Isolate* isolate); |
108 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); | 109 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); |
109 static Callable InterpreterCEntry(Isolate* isolate); | 110 static Callable InterpreterCEntry(Isolate* isolate); |
110 }; | 111 }; |
111 | 112 |
112 } // namespace internal | 113 } // namespace internal |
113 } // namespace v8 | 114 } // namespace v8 |
114 | 115 |
115 #endif // V8_CODE_FACTORY_H_ | 116 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |