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