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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 V(StoreArrayLiteralElement) \ | 88 V(StoreArrayLiteralElement) \ |
89 V(StubFailureTrampoline) \ | 89 V(StubFailureTrampoline) \ |
90 V(ArrayConstructor) \ | 90 V(ArrayConstructor) \ |
91 V(InternalArrayConstructor) \ | 91 V(InternalArrayConstructor) \ |
92 V(ProfileEntryHook) \ | 92 V(ProfileEntryHook) \ |
93 /* IC Handler stubs */ \ | 93 /* IC Handler stubs */ \ |
94 V(LoadField) \ | 94 V(LoadField) \ |
95 V(KeyedLoadField) | 95 V(KeyedLoadField) |
96 | 96 |
97 // List of code stubs only used on ARM platforms. | 97 // List of code stubs only used on ARM platforms. |
98 #ifdef V8_TARGET_ARCH_ARM | 98 #if V8_TARGET_ARCH_ARM |
99 #define CODE_STUB_LIST_ARM(V) \ | 99 #define CODE_STUB_LIST_ARM(V) \ |
100 V(GetProperty) \ | 100 V(GetProperty) \ |
101 V(SetProperty) \ | 101 V(SetProperty) \ |
102 V(InvokeBuiltin) \ | 102 V(InvokeBuiltin) \ |
103 V(RegExpCEntry) \ | 103 V(RegExpCEntry) \ |
104 V(DirectCEntry) | 104 V(DirectCEntry) |
105 #else | 105 #else |
106 #define CODE_STUB_LIST_ARM(V) | 106 #define CODE_STUB_LIST_ARM(V) |
107 #endif | 107 #endif |
108 | 108 |
109 // List of code stubs only used on MIPS platforms. | 109 // List of code stubs only used on MIPS platforms. |
110 #ifdef V8_TARGET_ARCH_MIPS | 110 #if V8_TARGET_ARCH_MIPS |
111 #define CODE_STUB_LIST_MIPS(V) \ | 111 #define CODE_STUB_LIST_MIPS(V) \ |
112 V(RegExpCEntry) \ | 112 V(RegExpCEntry) \ |
113 V(DirectCEntry) | 113 V(DirectCEntry) |
114 #else | 114 #else |
115 #define CODE_STUB_LIST_MIPS(V) | 115 #define CODE_STUB_LIST_MIPS(V) |
116 #endif | 116 #endif |
117 | 117 |
118 // Combined list of code stubs. | 118 // Combined list of code stubs. |
119 #define CODE_STUB_LIST(V) \ | 119 #define CODE_STUB_LIST(V) \ |
120 CODE_STUB_LIST_ALL_PLATFORMS(V) \ | 120 CODE_STUB_LIST_ALL_PLATFORMS(V) \ |
(...skipping 2032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2153 | 2153 |
2154 // The current function entry hook. | 2154 // The current function entry hook. |
2155 static FunctionEntryHook entry_hook_; | 2155 static FunctionEntryHook entry_hook_; |
2156 | 2156 |
2157 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); | 2157 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); |
2158 }; | 2158 }; |
2159 | 2159 |
2160 } } // namespace v8::internal | 2160 } } // namespace v8::internal |
2161 | 2161 |
2162 #endif // V8_CODE_STUBS_H_ | 2162 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |