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 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 // void f(Local<Name> property, PropertyCallbackInfo& info) | 890 // void f(Local<Name> property, PropertyCallbackInfo& info) |
891 DIRECT_GETTER_CALL, | 891 DIRECT_GETTER_CALL, |
892 | 892 |
893 // Call to accessor getter callback via InvokeAccessorGetterCallback. | 893 // Call to accessor getter callback via InvokeAccessorGetterCallback. |
894 // void f(Local<Name> property, PropertyCallbackInfo& info, | 894 // void f(Local<Name> property, PropertyCallbackInfo& info, |
895 // AccessorNameGetterCallback callback) | 895 // AccessorNameGetterCallback callback) |
896 PROFILING_GETTER_CALL | 896 PROFILING_GETTER_CALL |
897 }; | 897 }; |
898 | 898 |
899 static void SetUp(); | 899 static void SetUp(); |
| 900 static void InitializeMathExpData(); |
| 901 static void TearDownMathExpData(); |
900 | 902 |
901 typedef void* ExternalReferenceRedirector(Isolate* isolate, void* original, | 903 typedef void* ExternalReferenceRedirector(Isolate* isolate, void* original, |
902 Type type); | 904 Type type); |
903 | 905 |
904 ExternalReference() : address_(NULL) {} | 906 ExternalReference() : address_(NULL) {} |
905 | 907 |
906 ExternalReference(Builtins::CFunctionId id, Isolate* isolate); | 908 ExternalReference(Builtins::CFunctionId id, Isolate* isolate); |
907 | 909 |
908 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate); | 910 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate); |
909 | 911 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1035 static ExternalReference address_of_min_int(); | 1037 static ExternalReference address_of_min_int(); |
1036 static ExternalReference address_of_one_half(); | 1038 static ExternalReference address_of_one_half(); |
1037 static ExternalReference address_of_minus_one_half(); | 1039 static ExternalReference address_of_minus_one_half(); |
1038 static ExternalReference address_of_negative_infinity(); | 1040 static ExternalReference address_of_negative_infinity(); |
1039 static ExternalReference address_of_the_hole_nan(); | 1041 static ExternalReference address_of_the_hole_nan(); |
1040 static ExternalReference address_of_uint32_bias(); | 1042 static ExternalReference address_of_uint32_bias(); |
1041 | 1043 |
1042 // IEEE 754 functions. | 1044 // IEEE 754 functions. |
1043 static ExternalReference ieee754_atan_function(Isolate* isolate); | 1045 static ExternalReference ieee754_atan_function(Isolate* isolate); |
1044 static ExternalReference ieee754_atan2_function(Isolate* isolate); | 1046 static ExternalReference ieee754_atan2_function(Isolate* isolate); |
1045 static ExternalReference ieee754_exp_function(Isolate* isolate); | |
1046 static ExternalReference ieee754_log_function(Isolate* isolate); | 1047 static ExternalReference ieee754_log_function(Isolate* isolate); |
1047 static ExternalReference ieee754_log1p_function(Isolate* isolate); | 1048 static ExternalReference ieee754_log1p_function(Isolate* isolate); |
1048 static ExternalReference ieee754_log2_function(Isolate* isolate); | 1049 static ExternalReference ieee754_log2_function(Isolate* isolate); |
1049 static ExternalReference ieee754_log10_function(Isolate* isolate); | 1050 static ExternalReference ieee754_log10_function(Isolate* isolate); |
1050 | 1051 |
| 1052 static ExternalReference math_exp_constants(int constant_index); |
| 1053 static ExternalReference math_exp_log_table(); |
| 1054 |
1051 static ExternalReference page_flags(Page* page); | 1055 static ExternalReference page_flags(Page* page); |
1052 | 1056 |
1053 static ExternalReference ForDeoptEntry(Address entry); | 1057 static ExternalReference ForDeoptEntry(Address entry); |
1054 | 1058 |
1055 static ExternalReference cpu_features(); | 1059 static ExternalReference cpu_features(); |
1056 | 1060 |
1057 static ExternalReference is_tail_call_elimination_enabled_address( | 1061 static ExternalReference is_tail_call_elimination_enabled_address( |
1058 Isolate* isolate); | 1062 Isolate* isolate); |
1059 | 1063 |
1060 static ExternalReference debug_is_active_address(Isolate* isolate); | 1064 static ExternalReference debug_is_active_address(Isolate* isolate); |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1346 std::vector<ConstantPoolEntry> shared_entries; | 1350 std::vector<ConstantPoolEntry> shared_entries; |
1347 }; | 1351 }; |
1348 | 1352 |
1349 Label emitted_label_; // Records pc_offset of emitted pool | 1353 Label emitted_label_; // Records pc_offset of emitted pool |
1350 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1354 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
1351 }; | 1355 }; |
1352 | 1356 |
1353 } // namespace internal | 1357 } // namespace internal |
1354 } // namespace v8 | 1358 } // namespace v8 |
1355 #endif // V8_ASSEMBLER_H_ | 1359 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |