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_CODEGEN_H_ | 5 #ifndef V8_CODEGEN_H_ |
6 #define V8_CODEGEN_H_ | 6 #define V8_CODEGEN_H_ |
7 | 7 |
8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 #include "src/runtime.h" | 9 #include "src/runtime.h" |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 // AnalyzeCondition | 39 // AnalyzeCondition |
40 // CodeForFunctionPosition | 40 // CodeForFunctionPosition |
41 // CodeForReturnPosition | 41 // CodeForReturnPosition |
42 // CodeForStatementPosition | 42 // CodeForStatementPosition |
43 // CodeForDoWhileConditionPosition | 43 // CodeForDoWhileConditionPosition |
44 // CodeForSourcePosition | 44 // CodeForSourcePosition |
45 | 45 |
46 enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; | 46 enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; |
47 | 47 |
48 #if V8_TARGET_ARCH_IA32 | 48 #if V8_TARGET_ARCH_IA32 |
49 #include "src/ia32/codegen-ia32.h" | 49 #include "src/ia32/codegen-ia32.h" // NOLINT |
50 #elif V8_TARGET_ARCH_X64 | 50 #elif V8_TARGET_ARCH_X64 |
51 #include "src/x64/codegen-x64.h" | 51 #include "src/x64/codegen-x64.h" // NOLINT |
52 #elif V8_TARGET_ARCH_ARM64 | 52 #elif V8_TARGET_ARCH_ARM64 |
53 #include "src/arm64/codegen-arm64.h" | 53 #include "src/arm64/codegen-arm64.h" // NOLINT |
54 #elif V8_TARGET_ARCH_ARM | 54 #elif V8_TARGET_ARCH_ARM |
55 #include "src/arm/codegen-arm.h" | 55 #include "src/arm/codegen-arm.h" // NOLINT |
56 #elif V8_TARGET_ARCH_MIPS | 56 #elif V8_TARGET_ARCH_MIPS |
57 #include "src/mips/codegen-mips.h" | 57 #include "src/mips/codegen-mips.h" // NOLINT |
58 #elif V8_TARGET_ARCH_X87 | 58 #elif V8_TARGET_ARCH_X87 |
59 #include "src/x87/codegen-x87.h" | 59 #include "src/x87/codegen-x87.h" // NOLINT |
60 #else | 60 #else |
61 #error Unsupported target architecture. | 61 #error Unsupported target architecture. |
62 #endif | 62 #endif |
63 | 63 |
64 namespace v8 { | 64 namespace v8 { |
65 namespace internal { | 65 namespace internal { |
66 | 66 |
67 | 67 |
68 class CompilationInfo; | 68 class CompilationInfo; |
69 | 69 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 #ifdef DEBUG | 155 #ifdef DEBUG |
156 #ifdef V8_TARGET_ARCH_ARM64 | 156 #ifdef V8_TARGET_ARCH_ARM64 |
157 const EmbeddedVector<byte, kNoCodeAgeSequenceLength> old_sequence_; | 157 const EmbeddedVector<byte, kNoCodeAgeSequenceLength> old_sequence_; |
158 #endif | 158 #endif |
159 #endif | 159 #endif |
160 }; | 160 }; |
161 | 161 |
162 } } // namespace v8::internal | 162 } } // namespace v8::internal |
163 | 163 |
164 #endif // V8_CODEGEN_H_ | 164 #endif // V8_CODEGEN_H_ |
OLD | NEW |