| 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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 static ExternalReference log_enter_external_function(Isolate* isolate); | 740 static ExternalReference log_enter_external_function(Isolate* isolate); |
| 741 static ExternalReference log_leave_external_function(Isolate* isolate); | 741 static ExternalReference log_leave_external_function(Isolate* isolate); |
| 742 | 742 |
| 743 // Static data in the keyed lookup cache. | 743 // Static data in the keyed lookup cache. |
| 744 static ExternalReference keyed_lookup_cache_keys(Isolate* isolate); | 744 static ExternalReference keyed_lookup_cache_keys(Isolate* isolate); |
| 745 static ExternalReference keyed_lookup_cache_field_offsets(Isolate* isolate); | 745 static ExternalReference keyed_lookup_cache_field_offsets(Isolate* isolate); |
| 746 | 746 |
| 747 // Static variable Heap::roots_array_start() | 747 // Static variable Heap::roots_array_start() |
| 748 static ExternalReference roots_array_start(Isolate* isolate); | 748 static ExternalReference roots_array_start(Isolate* isolate); |
| 749 | 749 |
| 750 // Static variable Heap::allocation_sites_list_address() |
| 751 static ExternalReference allocation_sites_list_address(Isolate* isolate); |
| 752 |
| 750 // Static variable StackGuard::address_of_jslimit() | 753 // Static variable StackGuard::address_of_jslimit() |
| 751 static ExternalReference address_of_stack_limit(Isolate* isolate); | 754 static ExternalReference address_of_stack_limit(Isolate* isolate); |
| 752 | 755 |
| 753 // Static variable StackGuard::address_of_real_jslimit() | 756 // Static variable StackGuard::address_of_real_jslimit() |
| 754 static ExternalReference address_of_real_stack_limit(Isolate* isolate); | 757 static ExternalReference address_of_real_stack_limit(Isolate* isolate); |
| 755 | 758 |
| 756 // Static variable RegExpStack::limit_address() | 759 // Static variable RegExpStack::limit_address() |
| 757 static ExternalReference address_of_regexp_stack_limit(Isolate* isolate); | 760 static ExternalReference address_of_regexp_stack_limit(Isolate* isolate); |
| 758 | 761 |
| 759 // Static variables for RegExp. | 762 // Static variables for RegExp. |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 856 // This lets you register a function that rewrites all external references. | 859 // This lets you register a function that rewrites all external references. |
| 857 // Used by the ARM simulator to catch calls to external references. | 860 // Used by the ARM simulator to catch calls to external references. |
| 858 static void set_redirector(Isolate* isolate, | 861 static void set_redirector(Isolate* isolate, |
| 859 ExternalReferenceRedirector* redirector) { | 862 ExternalReferenceRedirector* redirector) { |
| 860 // We can't stack them. | 863 // We can't stack them. |
| 861 ASSERT(isolate->external_reference_redirector() == NULL); | 864 ASSERT(isolate->external_reference_redirector() == NULL); |
| 862 isolate->set_external_reference_redirector( | 865 isolate->set_external_reference_redirector( |
| 863 reinterpret_cast<ExternalReferenceRedirectorPointer*>(redirector)); | 866 reinterpret_cast<ExternalReferenceRedirectorPointer*>(redirector)); |
| 864 } | 867 } |
| 865 | 868 |
| 869 static ExternalReference stress_deopt_count(Isolate* isolate); |
| 870 |
| 866 private: | 871 private: |
| 867 explicit ExternalReference(void* address) | 872 explicit ExternalReference(void* address) |
| 868 : address_(address) {} | 873 : address_(address) {} |
| 869 | 874 |
| 870 static void* Redirect(Isolate* isolate, | 875 static void* Redirect(Isolate* isolate, |
| 871 void* address, | 876 void* address, |
| 872 Type type = ExternalReference::BUILTIN_CALL) { | 877 Type type = ExternalReference::BUILTIN_CALL) { |
| 873 ExternalReferenceRedirector* redirector = | 878 ExternalReferenceRedirector* redirector = |
| 874 reinterpret_cast<ExternalReferenceRedirector*>( | 879 reinterpret_cast<ExternalReferenceRedirector*>( |
| 875 isolate->external_reference_redirector()); | 880 isolate->external_reference_redirector()); |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1033 public: | 1038 public: |
| 1034 NullCallWrapper() { } | 1039 NullCallWrapper() { } |
| 1035 virtual ~NullCallWrapper() { } | 1040 virtual ~NullCallWrapper() { } |
| 1036 virtual void BeforeCall(int call_size) const { } | 1041 virtual void BeforeCall(int call_size) const { } |
| 1037 virtual void AfterCall() const { } | 1042 virtual void AfterCall() const { } |
| 1038 }; | 1043 }; |
| 1039 | 1044 |
| 1040 } } // namespace v8::internal | 1045 } } // namespace v8::internal |
| 1041 | 1046 |
| 1042 #endif // V8_ASSEMBLER_H_ | 1047 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |