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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 static Callable StringLessThan(Isolate* isolate); | 124 static Callable StringLessThan(Isolate* isolate); |
125 static Callable StringLessThanOrEqual(Isolate* isolate); | 125 static Callable StringLessThanOrEqual(Isolate* isolate); |
126 static Callable StringGreaterThan(Isolate* isolate); | 126 static Callable StringGreaterThan(Isolate* isolate); |
127 static Callable StringGreaterThanOrEqual(Isolate* isolate); | 127 static Callable StringGreaterThanOrEqual(Isolate* isolate); |
128 static Callable SubString(Isolate* isolate); | 128 static Callable SubString(Isolate* isolate); |
129 | 129 |
130 static Callable Typeof(Isolate* isolate); | 130 static Callable Typeof(Isolate* isolate); |
131 static Callable GetSuperConstructor(Isolate* isolate); | 131 static Callable GetSuperConstructor(Isolate* isolate); |
132 | 132 |
133 static Callable FastCloneRegExp(Isolate* isolate); | 133 static Callable FastCloneRegExp(Isolate* isolate); |
134 static Callable FastCloneShallowArray(Isolate* isolate); | 134 static Callable FastCloneShallowArray(Isolate* isolate, |
| 135 AllocationSiteMode allocation_mode); |
135 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 136 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
136 | 137 |
137 static Callable FastNewFunctionContext(Isolate* isolate, | 138 static Callable FastNewFunctionContext(Isolate* isolate, |
138 ScopeType scope_type); | 139 ScopeType scope_type); |
139 static Callable FastNewClosure(Isolate* isolate); | 140 static Callable FastNewClosure(Isolate* isolate); |
140 static Callable FastNewObject(Isolate* isolate); | 141 static Callable FastNewObject(Isolate* isolate); |
141 static Callable FastNewRestParameter(Isolate* isolate, | 142 static Callable FastNewRestParameter(Isolate* isolate, |
142 bool skip_stub_frame = false); | 143 bool skip_stub_frame = false); |
143 static Callable FastNewSloppyArguments(Isolate* isolate, | 144 static Callable FastNewSloppyArguments(Isolate* isolate, |
144 bool skip_stub_frame = false); | 145 bool skip_stub_frame = false); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 181 |
181 static Callable ArrayPush(Isolate* isolate); | 182 static Callable ArrayPush(Isolate* isolate); |
182 static Callable FunctionPrototypeBind(Isolate* isolate); | 183 static Callable FunctionPrototypeBind(Isolate* isolate); |
183 static Callable PromiseHandleReject(Isolate* isolate); | 184 static Callable PromiseHandleReject(Isolate* isolate); |
184 }; | 185 }; |
185 | 186 |
186 } // namespace internal | 187 } // namespace internal |
187 } // namespace v8 | 188 } // namespace v8 |
188 | 189 |
189 #endif // V8_CODE_FACTORY_H_ | 190 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |