| 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/runtime.h" | 9 #include "src/runtime/runtime.h" |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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" // NOLINT | 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" // NOLINT | 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" // NOLINT | 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" // NOLINT | 55 #include "src/arm/codegen-arm.h" // NOLINT |
| 56 #elif V8_TARGET_ARCH_PPC |
| 57 #include "src/ppc/codegen-ppc.h" // NOLINT |
| 56 #elif V8_TARGET_ARCH_MIPS | 58 #elif V8_TARGET_ARCH_MIPS |
| 57 #include "src/mips/codegen-mips.h" // NOLINT | 59 #include "src/mips/codegen-mips.h" // NOLINT |
| 58 #elif V8_TARGET_ARCH_MIPS64 | 60 #elif V8_TARGET_ARCH_MIPS64 |
| 59 #include "src/mips64/codegen-mips64.h" // NOLINT | 61 #include "src/mips64/codegen-mips64.h" // NOLINT |
| 60 #elif V8_TARGET_ARCH_X87 | 62 #elif V8_TARGET_ARCH_X87 |
| 61 #include "src/x87/codegen-x87.h" // NOLINT | 63 #include "src/x87/codegen-x87.h" // NOLINT |
| 62 #else | 64 #else |
| 63 #error Unsupported target architecture. | 65 #error Unsupported target architecture. |
| 64 #endif | 66 #endif |
| 65 | 67 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 #ifdef DEBUG | 174 #ifdef DEBUG |
| 173 #ifdef V8_TARGET_ARCH_ARM64 | 175 #ifdef V8_TARGET_ARCH_ARM64 |
| 174 const EmbeddedVector<byte, kNoCodeAgeSequenceLength> old_sequence_; | 176 const EmbeddedVector<byte, kNoCodeAgeSequenceLength> old_sequence_; |
| 175 #endif | 177 #endif |
| 176 #endif | 178 #endif |
| 177 }; | 179 }; |
| 178 | 180 |
| 179 } } // namespace v8::internal | 181 } } // namespace v8::internal |
| 180 | 182 |
| 181 #endif // V8_CODEGEN_H_ | 183 #endif // V8_CODEGEN_H_ |
| OLD | NEW |