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/code-stub-assembler.h" | 10 #include "src/code-stub-assembler.h" |
11 #include "src/codegen.h" | 11 #include "src/codegen.h" |
12 #include "src/globals.h" | 12 #include "src/globals.h" |
13 #include "src/ic/ic-state.h" | 13 #include "src/ic/ic-state.h" |
14 #include "src/interface-descriptors.h" | 14 #include "src/interface-descriptors.h" |
15 #include "src/macro-assembler.h" | 15 #include "src/macro-assembler.h" |
16 #include "src/ostreams.h" | 16 #include "src/ostreams.h" |
17 | 17 |
18 namespace v8 { | 18 namespace v8 { |
19 namespace internal { | 19 namespace internal { |
20 | 20 |
| 21 class ObjectLiteral; |
| 22 |
21 // List of code stubs used on all platforms. | 23 // List of code stubs used on all platforms. |
22 #define CODE_STUB_LIST_ALL_PLATFORMS(V) \ | 24 #define CODE_STUB_LIST_ALL_PLATFORMS(V) \ |
23 /* --- PlatformCodeStubs --- */ \ | 25 /* --- PlatformCodeStubs --- */ \ |
24 V(ArrayConstructor) \ | 26 V(ArrayConstructor) \ |
25 V(BinaryOpICWithAllocationSite) \ | 27 V(BinaryOpICWithAllocationSite) \ |
26 V(CallApiCallback) \ | 28 V(CallApiCallback) \ |
27 V(CallApiGetter) \ | 29 V(CallApiGetter) \ |
28 V(CallConstruct) \ | 30 V(CallConstruct) \ |
29 V(CallIC) \ | 31 V(CallIC) \ |
30 V(CEntry) \ | 32 V(CEntry) \ |
(...skipping 3193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3224 #undef DEFINE_CODE_STUB | 3226 #undef DEFINE_CODE_STUB |
3225 #undef DEFINE_CODE_STUB_BASE | 3227 #undef DEFINE_CODE_STUB_BASE |
3226 | 3228 |
3227 extern Representation RepresentationFromType(Type* type); | 3229 extern Representation RepresentationFromType(Type* type); |
3228 extern Representation RepresentationFromMachineType(MachineType type); | 3230 extern Representation RepresentationFromMachineType(MachineType type); |
3229 | 3231 |
3230 } // namespace internal | 3232 } // namespace internal |
3231 } // namespace v8 | 3233 } // namespace v8 |
3232 | 3234 |
3233 #endif // V8_CODE_STUBS_H_ | 3235 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |