OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
640 BUILTIN_FP_CALL, | 640 BUILTIN_FP_CALL, |
641 | 641 |
642 // Builtin call that returns floating point. | 642 // Builtin call that returns floating point. |
643 // double f(double, int). | 643 // double f(double, int). |
644 BUILTIN_FP_INT_CALL, | 644 BUILTIN_FP_INT_CALL, |
645 | 645 |
646 // Direct call to API function callback. | 646 // Direct call to API function callback. |
647 // Handle<Value> f(v8::Arguments&) | 647 // Handle<Value> f(v8::Arguments&) |
648 DIRECT_API_CALL, | 648 DIRECT_API_CALL, |
649 | 649 |
| 650 // Call to invocation callback via InvokeInvocationCallback. |
| 651 // Handle<Value> f(v8::Arguments&, v8::InvocationCallback) |
| 652 PROFILING_API_CALL, |
| 653 |
650 // Direct call to API function callback. | 654 // Direct call to API function callback. |
651 // void f(v8::Arguments&) | 655 // void f(v8::Arguments&) |
652 DIRECT_API_CALL_NEW, | 656 DIRECT_API_CALL_NEW, |
653 | 657 |
| 658 // Call to function callback via InvokeFunctionCallback. |
| 659 // void f(v8::Arguments&, v8::FunctionCallback) |
| 660 PROFILING_API_CALL_NEW, |
| 661 |
654 // Direct call to accessor getter callback. | 662 // Direct call to accessor getter callback. |
655 // Handle<value> f(Local<String> property, AccessorInfo& info) | 663 // Handle<value> f(Local<String> property, AccessorInfo& info) |
656 DIRECT_GETTER_CALL, | 664 DIRECT_GETTER_CALL, |
657 | 665 |
| 666 // Call to accessor getter callback via InvokeAccessorGetter. |
| 667 // Handle<value> f(Local<String> property, AccessorInfo& info, |
| 668 // AccessorGetter getter) |
| 669 PROFILING_GETTER_CALL, |
| 670 |
658 // Direct call to accessor getter callback. | 671 // Direct call to accessor getter callback. |
659 // void f(Local<String> property, AccessorInfo& info) | 672 // void f(Local<String> property, AccessorInfo& info) |
660 DIRECT_GETTER_CALL_NEW | 673 DIRECT_GETTER_CALL_NEW, |
| 674 |
| 675 // Call to accessor getter callback via InvokeAccessorGetterCallback. |
| 676 // void f(Local<String> property, AccessorInfo& info, |
| 677 // AccessorGetterCallback callback) |
| 678 PROFILING_GETTER_CALL_NEW |
661 }; | 679 }; |
662 | 680 |
663 static void SetUp(); | 681 static void SetUp(); |
664 static void InitializeMathExpData(); | 682 static void InitializeMathExpData(); |
665 static void TearDownMathExpData(); | 683 static void TearDownMathExpData(); |
666 | 684 |
667 typedef void* ExternalReferenceRedirector(void* original, Type type); | 685 typedef void* ExternalReferenceRedirector(void* original, Type type); |
668 | 686 |
669 ExternalReference(Builtins::CFunctionId id, Isolate* isolate); | 687 ExternalReference(Builtins::CFunctionId id, Isolate* isolate); |
670 | 688 |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1041 public: | 1059 public: |
1042 NullCallWrapper() { } | 1060 NullCallWrapper() { } |
1043 virtual ~NullCallWrapper() { } | 1061 virtual ~NullCallWrapper() { } |
1044 virtual void BeforeCall(int call_size) const { } | 1062 virtual void BeforeCall(int call_size) const { } |
1045 virtual void AfterCall() const { } | 1063 virtual void AfterCall() const { } |
1046 }; | 1064 }; |
1047 | 1065 |
1048 } } // namespace v8::internal | 1066 } } // namespace v8::internal |
1049 | 1067 |
1050 #endif // V8_ASSEMBLER_H_ | 1068 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |