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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 131 |
132 static Callable FastCloneRegExp(Isolate* isolate); | 132 static Callable FastCloneRegExp(Isolate* isolate); |
133 static Callable FastCloneShallowArray(Isolate* isolate); | 133 static Callable FastCloneShallowArray(Isolate* isolate); |
134 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 134 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
135 | 135 |
136 static Callable FastNewFunctionContext(Isolate* isolate); | 136 static Callable FastNewFunctionContext(Isolate* isolate, |
| 137 ScopeType scope_type); |
137 static Callable FastNewClosure(Isolate* isolate); | 138 static Callable FastNewClosure(Isolate* isolate); |
138 static Callable FastNewObject(Isolate* isolate); | 139 static Callable FastNewObject(Isolate* isolate); |
139 static Callable FastNewRestParameter(Isolate* isolate, | 140 static Callable FastNewRestParameter(Isolate* isolate, |
140 bool skip_stub_frame = false); | 141 bool skip_stub_frame = false); |
141 static Callable FastNewSloppyArguments(Isolate* isolate, | 142 static Callable FastNewSloppyArguments(Isolate* isolate, |
142 bool skip_stub_frame = false); | 143 bool skip_stub_frame = false); |
143 static Callable FastNewStrictArguments(Isolate* isolate, | 144 static Callable FastNewStrictArguments(Isolate* isolate, |
144 bool skip_stub_frame = false); | 145 bool skip_stub_frame = false); |
145 | 146 |
146 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); | 147 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 179 |
179 static Callable ArrayPush(Isolate* isolate); | 180 static Callable ArrayPush(Isolate* isolate); |
180 static Callable FunctionPrototypeBind(Isolate* isolate); | 181 static Callable FunctionPrototypeBind(Isolate* isolate); |
181 static Callable PromiseHandleReject(Isolate* isolate); | 182 static Callable PromiseHandleReject(Isolate* isolate); |
182 }; | 183 }; |
183 | 184 |
184 } // namespace internal | 185 } // namespace internal |
185 } // namespace v8 | 186 } // namespace v8 |
186 | 187 |
187 #endif // V8_CODE_FACTORY_H_ | 188 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |