OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 V(StoreGlobal) \ | 94 V(StoreGlobal) \ |
95 V(CallApiFunction) \ | 95 V(CallApiFunction) \ |
96 V(CallApiGetter) \ | 96 V(CallApiGetter) \ |
97 /* IC Handler stubs */ \ | 97 /* IC Handler stubs */ \ |
98 V(LoadField) \ | 98 V(LoadField) \ |
99 V(KeyedLoadField) \ | 99 V(KeyedLoadField) \ |
100 V(StringLength) \ | 100 V(StringLength) \ |
101 V(KeyedStringLength) | 101 V(KeyedStringLength) |
102 | 102 |
103 // List of code stubs only used on ARM platforms. | 103 // List of code stubs only used on ARM platforms. |
104 #if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_A64) | 104 #if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_ARM64) |
105 #define CODE_STUB_LIST_ARM(V) \ | 105 #define CODE_STUB_LIST_ARM(V) \ |
106 V(GetProperty) \ | 106 V(GetProperty) \ |
107 V(SetProperty) \ | 107 V(SetProperty) \ |
108 V(InvokeBuiltin) \ | 108 V(InvokeBuiltin) \ |
109 V(DirectCEntry) | 109 V(DirectCEntry) |
110 #else | 110 #else |
111 #define CODE_STUB_LIST_ARM(V) | 111 #define CODE_STUB_LIST_ARM(V) |
112 #endif | 112 #endif |
113 | 113 |
114 // List of code stubs only used on MIPS platforms. | 114 // List of code stubs only used on MIPS platforms. |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 DISALLOW_COPY_AND_ASSIGN(RuntimeCallHelper); | 434 DISALLOW_COPY_AND_ASSIGN(RuntimeCallHelper); |
435 }; | 435 }; |
436 | 436 |
437 | 437 |
438 } } // namespace v8::internal | 438 } } // namespace v8::internal |
439 | 439 |
440 #if V8_TARGET_ARCH_IA32 | 440 #if V8_TARGET_ARCH_IA32 |
441 #include "ia32/code-stubs-ia32.h" | 441 #include "ia32/code-stubs-ia32.h" |
442 #elif V8_TARGET_ARCH_X64 | 442 #elif V8_TARGET_ARCH_X64 |
443 #include "x64/code-stubs-x64.h" | 443 #include "x64/code-stubs-x64.h" |
444 #elif V8_TARGET_ARCH_A64 | 444 #elif V8_TARGET_ARCH_ARM64 |
445 #include "a64/code-stubs-a64.h" | 445 #include "arm64/code-stubs-arm64.h" |
446 #elif V8_TARGET_ARCH_ARM | 446 #elif V8_TARGET_ARCH_ARM |
447 #include "arm/code-stubs-arm.h" | 447 #include "arm/code-stubs-arm.h" |
448 #elif V8_TARGET_ARCH_MIPS | 448 #elif V8_TARGET_ARCH_MIPS |
449 #include "mips/code-stubs-mips.h" | 449 #include "mips/code-stubs-mips.h" |
450 #else | 450 #else |
451 #error Unsupported target architecture. | 451 #error Unsupported target architecture. |
452 #endif | 452 #endif |
453 | 453 |
454 namespace v8 { | 454 namespace v8 { |
455 namespace internal { | 455 namespace internal { |
(...skipping 2055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2511 | 2511 |
2512 | 2512 |
2513 class CallDescriptors { | 2513 class CallDescriptors { |
2514 public: | 2514 public: |
2515 static void InitializeForIsolate(Isolate* isolate); | 2515 static void InitializeForIsolate(Isolate* isolate); |
2516 }; | 2516 }; |
2517 | 2517 |
2518 } } // namespace v8::internal | 2518 } } // namespace v8::internal |
2519 | 2519 |
2520 #endif // V8_CODE_STUBS_H_ | 2520 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |