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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 static Callable StringGreaterThan(Isolate* isolate); | 118 static Callable StringGreaterThan(Isolate* isolate); |
119 static Callable StringGreaterThanOrEqual(Isolate* isolate); | 119 static Callable StringGreaterThanOrEqual(Isolate* isolate); |
120 static Callable SubString(Isolate* isolate); | 120 static Callable SubString(Isolate* isolate); |
121 | 121 |
122 static Callable Typeof(Isolate* isolate); | 122 static Callable Typeof(Isolate* isolate); |
123 | 123 |
124 static Callable FastCloneRegExp(Isolate* isolate); | 124 static Callable FastCloneRegExp(Isolate* isolate); |
125 static Callable FastCloneShallowArray(Isolate* isolate); | 125 static Callable FastCloneShallowArray(Isolate* isolate); |
126 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 126 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
127 | 127 |
128 static Callable FastNewContext(Isolate* isolate, int slot_count); | 128 static Callable FastNewContext(Isolate* isolate); |
129 static Callable FastNewClosure(Isolate* isolate); | 129 static Callable FastNewClosure(Isolate* isolate); |
130 static Callable FastNewObject(Isolate* isolate); | 130 static Callable FastNewObject(Isolate* isolate); |
131 static Callable FastNewRestParameter(Isolate* isolate, | 131 static Callable FastNewRestParameter(Isolate* isolate, |
132 bool skip_stub_frame = false); | 132 bool skip_stub_frame = false); |
133 static Callable FastNewSloppyArguments(Isolate* isolate, | 133 static Callable FastNewSloppyArguments(Isolate* isolate, |
134 bool skip_stub_frame = false); | 134 bool skip_stub_frame = false); |
135 static Callable FastNewStrictArguments(Isolate* isolate, | 135 static Callable FastNewStrictArguments(Isolate* isolate, |
136 bool skip_stub_frame = false); | 136 bool skip_stub_frame = false); |
137 | 137 |
138 static Callable AllocateHeapNumber(Isolate* isolate); | 138 static Callable AllocateHeapNumber(Isolate* isolate); |
(...skipping 17 matching lines...) Expand all Loading... |
156 Isolate* isolate, TailCallMode tail_call_mode, | 156 Isolate* isolate, TailCallMode tail_call_mode, |
157 CallableType function_type = CallableType::kAny); | 157 CallableType function_type = CallableType::kAny); |
158 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); | 158 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); |
159 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); | 159 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); |
160 }; | 160 }; |
161 | 161 |
162 } // namespace internal | 162 } // namespace internal |
163 } // namespace v8 | 163 } // namespace v8 |
164 | 164 |
165 #endif // V8_CODE_FACTORY_H_ | 165 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |