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 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1017 static void set_redirector(Isolate* isolate, | 1017 static void set_redirector(Isolate* isolate, |
1018 ExternalReferenceRedirector* redirector) { | 1018 ExternalReferenceRedirector* redirector) { |
1019 // We can't stack them. | 1019 // We can't stack them. |
1020 DCHECK(isolate->external_reference_redirector() == NULL); | 1020 DCHECK(isolate->external_reference_redirector() == NULL); |
1021 isolate->set_external_reference_redirector( | 1021 isolate->set_external_reference_redirector( |
1022 reinterpret_cast<ExternalReferenceRedirectorPointer*>(redirector)); | 1022 reinterpret_cast<ExternalReferenceRedirectorPointer*>(redirector)); |
1023 } | 1023 } |
1024 | 1024 |
1025 static ExternalReference stress_deopt_count(Isolate* isolate); | 1025 static ExternalReference stress_deopt_count(Isolate* isolate); |
1026 | 1026 |
| 1027 static ExternalReference fixed_typed_array_base_data_offset(); |
| 1028 |
1027 private: | 1029 private: |
1028 explicit ExternalReference(void* address) | 1030 explicit ExternalReference(void* address) |
1029 : address_(address) {} | 1031 : address_(address) {} |
1030 | 1032 |
1031 static void* Redirect(Isolate* isolate, | 1033 static void* Redirect(Isolate* isolate, |
1032 Address address_arg, | 1034 Address address_arg, |
1033 Type type = ExternalReference::BUILTIN_CALL) { | 1035 Type type = ExternalReference::BUILTIN_CALL) { |
1034 ExternalReferenceRedirector* redirector = | 1036 ExternalReferenceRedirector* redirector = |
1035 reinterpret_cast<ExternalReferenceRedirector*>( | 1037 reinterpret_cast<ExternalReferenceRedirector*>( |
1036 isolate->external_reference_redirector()); | 1038 isolate->external_reference_redirector()); |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1269 }; | 1271 }; |
1270 | 1272 |
1271 Label emitted_label_; // Records pc_offset of emitted pool | 1273 Label emitted_label_; // Records pc_offset of emitted pool |
1272 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1274 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
1273 }; | 1275 }; |
1274 | 1276 |
1275 | 1277 |
1276 } } // namespace v8::internal | 1278 } } // namespace v8::internal |
1277 | 1279 |
1278 #endif // V8_ASSEMBLER_H_ | 1280 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |