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_MACRO_ASSEMBLER_H_ | 5 #ifndef V8_MACRO_ASSEMBLER_H_ |
6 #define V8_MACRO_ASSEMBLER_H_ | 6 #define V8_MACRO_ASSEMBLER_H_ |
7 | 7 |
8 | 8 |
9 // Helper types to make boolean flag easier to read at call-site. | 9 // Helper types to make boolean flag easier to read at call-site. |
10 enum InvokeFlag { | 10 enum InvokeFlag { |
(...skipping 29 matching lines...) Expand all Loading... |
40 #if V8_TARGET_ARCH_IA32 | 40 #if V8_TARGET_ARCH_IA32 |
41 #include "src/assembler.h" | 41 #include "src/assembler.h" |
42 #include "src/ia32/assembler-ia32.h" | 42 #include "src/ia32/assembler-ia32.h" |
43 #include "src/ia32/assembler-ia32-inl.h" | 43 #include "src/ia32/assembler-ia32-inl.h" |
44 #include "src/code.h" // NOLINT, must be after assembler_*.h | 44 #include "src/code.h" // NOLINT, must be after assembler_*.h |
45 #include "src/ia32/macro-assembler-ia32.h" | 45 #include "src/ia32/macro-assembler-ia32.h" |
46 #elif V8_TARGET_ARCH_X64 | 46 #elif V8_TARGET_ARCH_X64 |
47 #include "src/assembler.h" | 47 #include "src/assembler.h" |
48 #include "src/x64/assembler-x64.h" | 48 #include "src/x64/assembler-x64.h" |
49 #include "src/x64/assembler-x64-inl.h" | 49 #include "src/x64/assembler-x64-inl.h" |
50 #include "src/code.h" // must be after assembler_*.h | 50 #include "src/code.h" // NOLINT, must be after assembler_*.h |
51 #include "src/x64/macro-assembler-x64.h" | 51 #include "src/x64/macro-assembler-x64.h" |
52 #elif V8_TARGET_ARCH_ARM64 | 52 #elif V8_TARGET_ARCH_ARM64 |
53 #include "src/arm64/constants-arm64.h" | 53 #include "src/arm64/constants-arm64.h" |
54 #include "src/assembler.h" | 54 #include "src/assembler.h" |
55 #include "src/arm64/assembler-arm64.h" // NOLINT | 55 #include "src/arm64/assembler-arm64.h" // NOLINT |
56 #include "src/arm64/assembler-arm64-inl.h" | 56 #include "src/arm64/assembler-arm64-inl.h" |
57 #include "src/code.h" // must be after assembler_*.h | 57 #include "src/code.h" // NOLINT, must be after assembler_*.h |
58 #include "src/arm64/macro-assembler-arm64.h" | 58 #include "src/arm64/macro-assembler-arm64.h" // NOLINT |
59 #include "src/arm64/macro-assembler-arm64-inl.h" | 59 #include "src/arm64/macro-assembler-arm64-inl.h" |
60 #elif V8_TARGET_ARCH_ARM | 60 #elif V8_TARGET_ARCH_ARM |
61 #include "src/arm/constants-arm.h" | 61 #include "src/arm/constants-arm.h" |
62 #include "src/assembler.h" | 62 #include "src/assembler.h" |
63 #include "src/arm/assembler-arm.h" // NOLINT | 63 #include "src/arm/assembler-arm.h" // NOLINT |
64 #include "src/arm/assembler-arm-inl.h" | 64 #include "src/arm/assembler-arm-inl.h" |
65 #include "src/code.h" // must be after assembler_*.h | 65 #include "src/code.h" // NOLINT, must be after assembler_*.h |
66 #include "src/arm/macro-assembler-arm.h" | 66 #include "src/arm/macro-assembler-arm.h" // NOLINT |
67 #elif V8_TARGET_ARCH_MIPS | 67 #elif V8_TARGET_ARCH_MIPS |
68 #include "src/mips/constants-mips.h" | 68 #include "src/mips/constants-mips.h" |
69 #include "src/assembler.h" | 69 #include "src/assembler.h" // NOLINT |
70 #include "src/mips/assembler-mips.h" // NOLINT | 70 #include "src/mips/assembler-mips.h" // NOLINT |
71 #include "src/mips/assembler-mips-inl.h" | 71 #include "src/mips/assembler-mips-inl.h" |
72 #include "src/code.h" // must be after assembler_*.h | 72 #include "src/code.h" // NOLINT, must be after assembler_*.h |
73 #include "src/mips/macro-assembler-mips.h" | 73 #include "src/mips/macro-assembler-mips.h" |
74 #elif V8_TARGET_ARCH_MIPS64 | 74 #elif V8_TARGET_ARCH_MIPS64 |
75 #include "src/mips64/constants-mips64.h" | 75 #include "src/mips64/constants-mips64.h" |
76 #include "src/assembler.h" | 76 #include "src/assembler.h" // NOLINT |
77 #include "src/mips64/assembler-mips64.h" // NOLINT | 77 #include "src/mips64/assembler-mips64.h" // NOLINT |
78 #include "src/mips64/assembler-mips64-inl.h" | 78 #include "src/mips64/assembler-mips64-inl.h" |
79 #include "src/code.h" // must be after assembler_*.h | 79 #include "src/code.h" // NOLINT, must be after assembler_*.h |
80 #include "src/mips64/macro-assembler-mips64.h" | 80 #include "src/mips64/macro-assembler-mips64.h" |
81 #elif V8_TARGET_ARCH_X87 | 81 #elif V8_TARGET_ARCH_X87 |
82 #include "src/assembler.h" | 82 #include "src/assembler.h" |
83 #include "src/x87/assembler-x87.h" | 83 #include "src/x87/assembler-x87.h" |
84 #include "src/x87/assembler-x87-inl.h" | 84 #include "src/x87/assembler-x87-inl.h" |
85 #include "src/code.h" // must be after assembler_*.h | 85 #include "src/code.h" // NOLINT, must be after assembler_*.h |
86 #include "src/x87/macro-assembler-x87.h" | 86 #include "src/x87/macro-assembler-x87.h" |
87 #else | 87 #else |
88 #error Unsupported target architecture. | 88 #error Unsupported target architecture. |
89 #endif | 89 #endif |
90 | 90 |
91 namespace v8 { | 91 namespace v8 { |
92 namespace internal { | 92 namespace internal { |
93 | 93 |
94 class FrameScope { | 94 class FrameScope { |
95 public: | 95 public: |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 isolate); | 196 isolate); |
197 } | 197 } |
198 return ExternalReference::new_space_allocation_limit_address(isolate); | 198 return ExternalReference::new_space_allocation_limit_address(isolate); |
199 } | 199 } |
200 }; | 200 }; |
201 | 201 |
202 | 202 |
203 } } // namespace v8::internal | 203 } } // namespace v8::internal |
204 | 204 |
205 #endif // V8_MACRO_ASSEMBLER_H_ | 205 #endif // V8_MACRO_ASSEMBLER_H_ |
OLD | NEW |