OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_H_ |
6 #define V8_BUILTINS_H_ | 6 #define V8_BUILTINS_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/handles.h" | 9 #include "src/handles.h" |
10 | 10 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 V(ConstructProxy, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 167 V(ConstructProxy, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
168 V(Construct, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 168 V(Construct, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
169 \ | 169 \ |
170 V(Apply, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 170 V(Apply, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
171 \ | 171 \ |
172 V(HandleFastApiCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 172 V(HandleFastApiCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
173 \ | 173 \ |
174 V(InOptimizationQueue, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 174 V(InOptimizationQueue, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
175 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 175 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
176 V(JSBuiltinsConstructStub, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 176 V(JSBuiltinsConstructStub, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
| 177 V(JSBuiltinsConstructStubForDerived, BUILTIN, UNINITIALIZED, \ |
| 178 kNoExtraICState) \ |
177 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 179 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
178 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 180 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
179 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 181 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
180 V(CompileLazy, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 182 V(CompileLazy, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
181 V(CompileOptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 183 V(CompileOptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
182 V(CompileOptimizedConcurrent, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 184 V(CompileOptimizedConcurrent, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
183 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 185 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
184 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 186 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
185 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 187 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
186 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 188 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \ |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 static void Generate_Adaptor(MacroAssembler* masm, | 379 static void Generate_Adaptor(MacroAssembler* masm, |
378 CFunctionId id, | 380 CFunctionId id, |
379 BuiltinExtraArguments extra_args); | 381 BuiltinExtraArguments extra_args); |
380 static void Generate_ConstructedNonConstructable(MacroAssembler* masm); | 382 static void Generate_ConstructedNonConstructable(MacroAssembler* masm); |
381 static void Generate_CompileLazy(MacroAssembler* masm); | 383 static void Generate_CompileLazy(MacroAssembler* masm); |
382 static void Generate_InOptimizationQueue(MacroAssembler* masm); | 384 static void Generate_InOptimizationQueue(MacroAssembler* masm); |
383 static void Generate_CompileOptimized(MacroAssembler* masm); | 385 static void Generate_CompileOptimized(MacroAssembler* masm); |
384 static void Generate_CompileOptimizedConcurrent(MacroAssembler* masm); | 386 static void Generate_CompileOptimizedConcurrent(MacroAssembler* masm); |
385 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); | 387 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); |
386 static void Generate_JSBuiltinsConstructStub(MacroAssembler* masm); | 388 static void Generate_JSBuiltinsConstructStub(MacroAssembler* masm); |
| 389 static void Generate_JSBuiltinsConstructStubForDerived(MacroAssembler* masm); |
387 static void Generate_JSConstructStubApi(MacroAssembler* masm); | 390 static void Generate_JSConstructStubApi(MacroAssembler* masm); |
388 static void Generate_JSEntryTrampoline(MacroAssembler* masm); | 391 static void Generate_JSEntryTrampoline(MacroAssembler* masm); |
389 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); | 392 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); |
390 static void Generate_NotifyDeoptimized(MacroAssembler* masm); | 393 static void Generate_NotifyDeoptimized(MacroAssembler* masm); |
391 static void Generate_NotifySoftDeoptimized(MacroAssembler* masm); | 394 static void Generate_NotifySoftDeoptimized(MacroAssembler* masm); |
392 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); | 395 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); |
393 static void Generate_NotifyStubFailure(MacroAssembler* masm); | 396 static void Generate_NotifyStubFailure(MacroAssembler* masm); |
394 static void Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm); | 397 static void Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm); |
395 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); | 398 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); |
396 | 399 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 friend class BuiltinFunctionTable; | 525 friend class BuiltinFunctionTable; |
523 friend class Isolate; | 526 friend class Isolate; |
524 | 527 |
525 DISALLOW_COPY_AND_ASSIGN(Builtins); | 528 DISALLOW_COPY_AND_ASSIGN(Builtins); |
526 }; | 529 }; |
527 | 530 |
528 } // namespace internal | 531 } // namespace internal |
529 } // namespace v8 | 532 } // namespace v8 |
530 | 533 |
531 #endif // V8_BUILTINS_H_ | 534 #endif // V8_BUILTINS_H_ |
OLD | NEW |