| 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 namespace v8 { | 8 namespace v8 { |
| 9 namespace internal { | 9 namespace internal { |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ | 60 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ |
| 61 \ | 61 \ |
| 62 V(StrictModePoisonPill, NO_EXTRA_ARGUMENTS) | 62 V(StrictModePoisonPill, NO_EXTRA_ARGUMENTS) |
| 63 | 63 |
| 64 // Define list of builtins implemented in assembly. | 64 // Define list of builtins implemented in assembly. |
| 65 #define BUILTIN_LIST_A(V) \ | 65 #define BUILTIN_LIST_A(V) \ |
| 66 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, \ | 66 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, \ |
| 67 kNoExtraICState) \ | 67 kNoExtraICState) \ |
| 68 V(InOptimizationQueue, BUILTIN, UNINITIALIZED, \ | 68 V(InOptimizationQueue, BUILTIN, UNINITIALIZED, \ |
| 69 kNoExtraICState) \ | 69 kNoExtraICState) \ |
| 70 V(JSConstructStubCountdown, BUILTIN, UNINITIALIZED, \ | |
| 71 kNoExtraICState) \ | |
| 72 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, \ | 70 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, \ |
| 73 kNoExtraICState) \ | 71 kNoExtraICState) \ |
| 74 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, \ | 72 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, \ |
| 75 kNoExtraICState) \ | 73 kNoExtraICState) \ |
| 76 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, \ | 74 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, \ |
| 77 kNoExtraICState) \ | 75 kNoExtraICState) \ |
| 78 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, \ | 76 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, \ |
| 79 kNoExtraICState) \ | 77 kNoExtraICState) \ |
| 80 V(CompileUnoptimized, BUILTIN, UNINITIALIZED, \ | 78 V(CompileUnoptimized, BUILTIN, UNINITIALIZED, \ |
| 81 kNoExtraICState) \ | 79 kNoExtraICState) \ |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 static const char* const javascript_names_[id_count]; | 330 static const char* const javascript_names_[id_count]; |
| 333 static int const javascript_argc_[id_count]; | 331 static int const javascript_argc_[id_count]; |
| 334 | 332 |
| 335 static void Generate_Adaptor(MacroAssembler* masm, | 333 static void Generate_Adaptor(MacroAssembler* masm, |
| 336 CFunctionId id, | 334 CFunctionId id, |
| 337 BuiltinExtraArguments extra_args); | 335 BuiltinExtraArguments extra_args); |
| 338 static void Generate_CompileUnoptimized(MacroAssembler* masm); | 336 static void Generate_CompileUnoptimized(MacroAssembler* masm); |
| 339 static void Generate_InOptimizationQueue(MacroAssembler* masm); | 337 static void Generate_InOptimizationQueue(MacroAssembler* masm); |
| 340 static void Generate_CompileOptimized(MacroAssembler* masm); | 338 static void Generate_CompileOptimized(MacroAssembler* masm); |
| 341 static void Generate_CompileOptimizedConcurrent(MacroAssembler* masm); | 339 static void Generate_CompileOptimizedConcurrent(MacroAssembler* masm); |
| 342 static void Generate_JSConstructStubCountdown(MacroAssembler* masm); | |
| 343 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); | 340 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); |
| 344 static void Generate_JSConstructStubApi(MacroAssembler* masm); | 341 static void Generate_JSConstructStubApi(MacroAssembler* masm); |
| 345 static void Generate_JSEntryTrampoline(MacroAssembler* masm); | 342 static void Generate_JSEntryTrampoline(MacroAssembler* masm); |
| 346 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); | 343 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); |
| 347 static void Generate_NotifyDeoptimized(MacroAssembler* masm); | 344 static void Generate_NotifyDeoptimized(MacroAssembler* masm); |
| 348 static void Generate_NotifySoftDeoptimized(MacroAssembler* masm); | 345 static void Generate_NotifySoftDeoptimized(MacroAssembler* masm); |
| 349 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); | 346 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); |
| 350 static void Generate_NotifyStubFailure(MacroAssembler* masm); | 347 static void Generate_NotifyStubFailure(MacroAssembler* masm); |
| 351 static void Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm); | 348 static void Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm); |
| 352 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); | 349 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 380 | 377 |
| 381 friend class BuiltinFunctionTable; | 378 friend class BuiltinFunctionTable; |
| 382 friend class Isolate; | 379 friend class Isolate; |
| 383 | 380 |
| 384 DISALLOW_COPY_AND_ASSIGN(Builtins); | 381 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 385 }; | 382 }; |
| 386 | 383 |
| 387 } } // namespace v8::internal | 384 } } // namespace v8::internal |
| 388 | 385 |
| 389 #endif // V8_BUILTINS_H_ | 386 #endif // V8_BUILTINS_H_ |
| OLD | NEW |