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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 static Callable StringGreaterThan(Isolate* isolate); | 120 static Callable StringGreaterThan(Isolate* isolate); |
121 static Callable StringGreaterThanOrEqual(Isolate* isolate); | 121 static Callable StringGreaterThanOrEqual(Isolate* isolate); |
122 static Callable SubString(Isolate* isolate); | 122 static Callable SubString(Isolate* isolate); |
123 | 123 |
124 static Callable Typeof(Isolate* isolate); | 124 static Callable Typeof(Isolate* isolate); |
125 | 125 |
126 static Callable FastCloneRegExp(Isolate* isolate); | 126 static Callable FastCloneRegExp(Isolate* isolate); |
127 static Callable FastCloneShallowArray(Isolate* isolate); | 127 static Callable FastCloneShallowArray(Isolate* isolate); |
128 static Callable FastCloneShallowObject(Isolate* isolate, int length); | 128 static Callable FastCloneShallowObject(Isolate* isolate, int length); |
129 | 129 |
130 static Callable FastNewFunctionContext(Isolate* isolate); | 130 static Callable FastNewFunctionContext(Isolate* isolate, |
| 131 ScopeType scope_type); |
131 static Callable FastNewClosure(Isolate* isolate); | 132 static Callable FastNewClosure(Isolate* isolate); |
132 static Callable FastNewObject(Isolate* isolate); | 133 static Callable FastNewObject(Isolate* isolate); |
133 static Callable FastNewRestParameter(Isolate* isolate, | 134 static Callable FastNewRestParameter(Isolate* isolate, |
134 bool skip_stub_frame = false); | 135 bool skip_stub_frame = false); |
135 static Callable FastNewSloppyArguments(Isolate* isolate, | 136 static Callable FastNewSloppyArguments(Isolate* isolate, |
136 bool skip_stub_frame = false); | 137 bool skip_stub_frame = false); |
137 static Callable FastNewStrictArguments(Isolate* isolate, | 138 static Callable FastNewStrictArguments(Isolate* isolate, |
138 bool skip_stub_frame = false); | 139 bool skip_stub_frame = false); |
139 | 140 |
140 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); | 141 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 173 |
173 static Callable ArrayPush(Isolate* isolate); | 174 static Callable ArrayPush(Isolate* isolate); |
174 static Callable FunctionPrototypeBind(Isolate* isolate); | 175 static Callable FunctionPrototypeBind(Isolate* isolate); |
175 static Callable PromiseHandleReject(Isolate* isolate); | 176 static Callable PromiseHandleReject(Isolate* isolate); |
176 }; | 177 }; |
177 | 178 |
178 } // namespace internal | 179 } // namespace internal |
179 } // namespace v8 | 180 } // namespace v8 |
180 | 181 |
181 #endif // V8_CODE_FACTORY_H_ | 182 #endif // V8_CODE_FACTORY_H_ |
OLD | NEW |