OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_CODE_STUBS_H_ | 5 #ifndef V8_CODE_STUBS_H_ |
6 #define V8_CODE_STUBS_H_ | 6 #define V8_CODE_STUBS_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 #define CODE_STUB_LIST_ARM64(V) | 103 #define CODE_STUB_LIST_ARM64(V) |
104 #endif | 104 #endif |
105 | 105 |
106 // List of code stubs only used on MIPS platforms. | 106 // List of code stubs only used on MIPS platforms. |
107 #if V8_TARGET_ARCH_MIPS | 107 #if V8_TARGET_ARCH_MIPS |
108 #define CODE_STUB_LIST_MIPS(V) \ | 108 #define CODE_STUB_LIST_MIPS(V) \ |
109 V(RegExpCEntry) \ | 109 V(RegExpCEntry) \ |
110 V(DirectCEntry) \ | 110 V(DirectCEntry) \ |
111 V(StoreRegistersState) \ | 111 V(StoreRegistersState) \ |
112 V(RestoreRegistersState) | 112 V(RestoreRegistersState) |
| 113 #elif V8_TARGET_ARCH_MIPS64 |
| 114 #define CODE_STUB_LIST_MIPS(V) \ |
| 115 V(RegExpCEntry) \ |
| 116 V(DirectCEntry) \ |
| 117 V(StoreRegistersState) \ |
| 118 V(RestoreRegistersState) |
113 #else | 119 #else |
114 #define CODE_STUB_LIST_MIPS(V) | 120 #define CODE_STUB_LIST_MIPS(V) |
115 #endif | 121 #endif |
116 | 122 |
117 // Combined list of code stubs. | 123 // Combined list of code stubs. |
118 #define CODE_STUB_LIST(V) \ | 124 #define CODE_STUB_LIST(V) \ |
119 CODE_STUB_LIST_ALL_PLATFORMS(V) \ | 125 CODE_STUB_LIST_ALL_PLATFORMS(V) \ |
120 CODE_STUB_LIST_ARM(V) \ | 126 CODE_STUB_LIST_ARM(V) \ |
121 CODE_STUB_LIST_ARM64(V) \ | 127 CODE_STUB_LIST_ARM64(V) \ |
122 CODE_STUB_LIST_MIPS(V) | 128 CODE_STUB_LIST_MIPS(V) |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 #if V8_TARGET_ARCH_IA32 | 495 #if V8_TARGET_ARCH_IA32 |
490 #include "src/ia32/code-stubs-ia32.h" | 496 #include "src/ia32/code-stubs-ia32.h" |
491 #elif V8_TARGET_ARCH_X64 | 497 #elif V8_TARGET_ARCH_X64 |
492 #include "src/x64/code-stubs-x64.h" | 498 #include "src/x64/code-stubs-x64.h" |
493 #elif V8_TARGET_ARCH_ARM64 | 499 #elif V8_TARGET_ARCH_ARM64 |
494 #include "src/arm64/code-stubs-arm64.h" | 500 #include "src/arm64/code-stubs-arm64.h" |
495 #elif V8_TARGET_ARCH_ARM | 501 #elif V8_TARGET_ARCH_ARM |
496 #include "src/arm/code-stubs-arm.h" | 502 #include "src/arm/code-stubs-arm.h" |
497 #elif V8_TARGET_ARCH_MIPS | 503 #elif V8_TARGET_ARCH_MIPS |
498 #include "src/mips/code-stubs-mips.h" | 504 #include "src/mips/code-stubs-mips.h" |
| 505 #elif V8_TARGET_ARCH_MIPS64 |
| 506 #include "src/mips64/code-stubs-mips64.h" |
499 #elif V8_TARGET_ARCH_X87 | 507 #elif V8_TARGET_ARCH_X87 |
500 #include "src/x87/code-stubs-x87.h" | 508 #include "src/x87/code-stubs-x87.h" |
501 #else | 509 #else |
502 #error Unsupported target architecture. | 510 #error Unsupported target architecture. |
503 #endif | 511 #endif |
504 | 512 |
505 namespace v8 { | 513 namespace v8 { |
506 namespace internal { | 514 namespace internal { |
507 | 515 |
508 | 516 |
(...skipping 2023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2532 | 2540 |
2533 | 2541 |
2534 class CallDescriptors { | 2542 class CallDescriptors { |
2535 public: | 2543 public: |
2536 static void InitializeForIsolate(Isolate* isolate); | 2544 static void InitializeForIsolate(Isolate* isolate); |
2537 }; | 2545 }; |
2538 | 2546 |
2539 } } // namespace v8::internal | 2547 } } // namespace v8::internal |
2540 | 2548 |
2541 #endif // V8_CODE_STUBS_H_ | 2549 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |