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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 // Direct call to API function callback. | 597 // Direct call to API function callback. |
598 // Handle<Value> f(v8::Arguments&) | 598 // Handle<Value> f(v8::Arguments&) |
599 DIRECT_API_CALL, | 599 DIRECT_API_CALL, |
600 | 600 |
601 // Direct call to accessor getter callback. | 601 // Direct call to accessor getter callback. |
602 // Handle<value> f(Local<String> property, AccessorInfo& info) | 602 // Handle<value> f(Local<String> property, AccessorInfo& info) |
603 DIRECT_GETTER_CALL | 603 DIRECT_GETTER_CALL |
604 }; | 604 }; |
605 | 605 |
606 static void SetUp(); | 606 static void SetUp(); |
| 607 static void InitializeMathExpData(); |
| 608 static void TearDownMathExpData(); |
607 | 609 |
608 typedef void* ExternalReferenceRedirector(void* original, Type type); | 610 typedef void* ExternalReferenceRedirector(void* original, Type type); |
609 | 611 |
610 ExternalReference(Builtins::CFunctionId id, Isolate* isolate); | 612 ExternalReference(Builtins::CFunctionId id, Isolate* isolate); |
611 | 613 |
612 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate); | 614 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate); |
613 | 615 |
614 ExternalReference(Builtins::Name name, Isolate* isolate); | 616 ExternalReference(Builtins::Name name, Isolate* isolate); |
615 | 617 |
616 ExternalReference(Runtime::FunctionId id, Isolate* isolate); | 618 ExternalReference(Runtime::FunctionId id, Isolate* isolate); |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 static ExternalReference address_of_uint8_max_value(); | 720 static ExternalReference address_of_uint8_max_value(); |
719 static ExternalReference address_of_negative_infinity(); | 721 static ExternalReference address_of_negative_infinity(); |
720 static ExternalReference address_of_canonical_non_hole_nan(); | 722 static ExternalReference address_of_canonical_non_hole_nan(); |
721 static ExternalReference address_of_the_hole_nan(); | 723 static ExternalReference address_of_the_hole_nan(); |
722 | 724 |
723 static ExternalReference math_sin_double_function(Isolate* isolate); | 725 static ExternalReference math_sin_double_function(Isolate* isolate); |
724 static ExternalReference math_cos_double_function(Isolate* isolate); | 726 static ExternalReference math_cos_double_function(Isolate* isolate); |
725 static ExternalReference math_tan_double_function(Isolate* isolate); | 727 static ExternalReference math_tan_double_function(Isolate* isolate); |
726 static ExternalReference math_log_double_function(Isolate* isolate); | 728 static ExternalReference math_log_double_function(Isolate* isolate); |
727 | 729 |
| 730 static ExternalReference math_exp_constants(int constant_index); |
| 731 static ExternalReference math_exp_log_table(); |
| 732 |
728 static ExternalReference page_flags(Page* page); | 733 static ExternalReference page_flags(Page* page); |
729 | 734 |
730 Address address() const {return reinterpret_cast<Address>(address_);} | 735 Address address() const {return reinterpret_cast<Address>(address_);} |
731 | 736 |
732 #ifdef ENABLE_DEBUGGER_SUPPORT | 737 #ifdef ENABLE_DEBUGGER_SUPPORT |
733 // Function Debug::Break() | 738 // Function Debug::Break() |
734 static ExternalReference debug_break(Isolate* isolate); | 739 static ExternalReference debug_break(Isolate* isolate); |
735 | 740 |
736 // Used to check if single stepping is enabled in generated code. | 741 // Used to check if single stepping is enabled in generated code. |
737 static ExternalReference debug_step_in_fp_address(Isolate* isolate); | 742 static ExternalReference debug_step_in_fp_address(Isolate* isolate); |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
947 public: | 952 public: |
948 NullCallWrapper() { } | 953 NullCallWrapper() { } |
949 virtual ~NullCallWrapper() { } | 954 virtual ~NullCallWrapper() { } |
950 virtual void BeforeCall(int call_size) const { } | 955 virtual void BeforeCall(int call_size) const { } |
951 virtual void AfterCall() const { } | 956 virtual void AfterCall() const { } |
952 }; | 957 }; |
953 | 958 |
954 } } // namespace v8::internal | 959 } } // namespace v8::internal |
955 | 960 |
956 #endif // V8_ASSEMBLER_H_ | 961 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |