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 | |
654 // Direct call to API function callback. | 650 // Direct call to API function callback. |
655 // void f(v8::Arguments&) | 651 // void f(v8::Arguments&) |
656 DIRECT_API_CALL_NEW, | 652 DIRECT_API_CALL_NEW, |
657 | 653 |
658 // Call to function callback via InvokeFunctionCallback. | |
659 // void f(v8::Arguments&, v8::FunctionCallback) | |
660 PROFILING_API_CALL_NEW, | |
661 | |
662 // Direct call to accessor getter callback. | 654 // Direct call to accessor getter callback. |
663 // Handle<value> f(Local<String> property, AccessorInfo& info) | 655 // Handle<value> f(Local<String> property, AccessorInfo& info) |
664 DIRECT_GETTER_CALL, | 656 DIRECT_GETTER_CALL, |
665 | 657 |
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 | |
671 // Direct call to accessor getter callback. | 658 // Direct call to accessor getter callback. |
672 // void f(Local<String> property, AccessorInfo& info) | 659 // void f(Local<String> property, AccessorInfo& info) |
673 DIRECT_GETTER_CALL_NEW, | 660 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 | |
679 }; | 661 }; |
680 | 662 |
681 static void SetUp(); | 663 static void SetUp(); |
682 static void InitializeMathExpData(); | 664 static void InitializeMathExpData(); |
683 static void TearDownMathExpData(); | 665 static void TearDownMathExpData(); |
684 | 666 |
685 typedef void* ExternalReferenceRedirector(void* original, Type type); | 667 typedef void* ExternalReferenceRedirector(void* original, Type type); |
686 | 668 |
687 ExternalReference(Builtins::CFunctionId id, Isolate* isolate); | 669 ExternalReference(Builtins::CFunctionId id, Isolate* isolate); |
688 | 670 |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1059 public: | 1041 public: |
1060 NullCallWrapper() { } | 1042 NullCallWrapper() { } |
1061 virtual ~NullCallWrapper() { } | 1043 virtual ~NullCallWrapper() { } |
1062 virtual void BeforeCall(int call_size) const { } | 1044 virtual void BeforeCall(int call_size) const { } |
1063 virtual void AfterCall() const { } | 1045 virtual void AfterCall() const { } |
1064 }; | 1046 }; |
1065 | 1047 |
1066 } } // namespace v8::internal | 1048 } } // namespace v8::internal |
1067 | 1049 |
1068 #endif // V8_ASSEMBLER_H_ | 1050 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |