| 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 25 matching lines...) Expand all Loading... |
| 36 // ProcessDeclarations | 36 // ProcessDeclarations |
| 37 // DeclareGlobals | 37 // DeclareGlobals |
| 38 // CheckForInlineRuntimeCall | 38 // CheckForInlineRuntimeCall |
| 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 }; | |
| 47 | |
| 48 #if V8_TARGET_ARCH_IA32 | 46 #if V8_TARGET_ARCH_IA32 |
| 49 #include "src/ia32/codegen-ia32.h" // NOLINT | 47 #include "src/ia32/codegen-ia32.h" // NOLINT |
| 50 #elif V8_TARGET_ARCH_X64 | 48 #elif V8_TARGET_ARCH_X64 |
| 51 #include "src/x64/codegen-x64.h" // NOLINT | 49 #include "src/x64/codegen-x64.h" // NOLINT |
| 52 #elif V8_TARGET_ARCH_ARM64 | 50 #elif V8_TARGET_ARCH_ARM64 |
| 53 #include "src/arm64/codegen-arm64.h" // NOLINT | 51 #include "src/arm64/codegen-arm64.h" // NOLINT |
| 54 #elif V8_TARGET_ARCH_ARM | 52 #elif V8_TARGET_ARCH_ARM |
| 55 #include "src/arm/codegen-arm.h" // NOLINT | 53 #include "src/arm/codegen-arm.h" // NOLINT |
| 56 #elif V8_TARGET_ARCH_MIPS | 54 #elif V8_TARGET_ARCH_MIPS |
| 57 #include "src/mips/codegen-mips.h" // NOLINT | 55 #include "src/mips/codegen-mips.h" // NOLINT |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 #ifdef DEBUG | 170 #ifdef DEBUG |
| 173 #ifdef V8_TARGET_ARCH_ARM64 | 171 #ifdef V8_TARGET_ARCH_ARM64 |
| 174 const EmbeddedVector<byte, kNoCodeAgeSequenceLength> old_sequence_; | 172 const EmbeddedVector<byte, kNoCodeAgeSequenceLength> old_sequence_; |
| 175 #endif | 173 #endif |
| 176 #endif | 174 #endif |
| 177 }; | 175 }; |
| 178 | 176 |
| 179 } } // namespace v8::internal | 177 } } // namespace v8::internal |
| 180 | 178 |
| 181 #endif // V8_CODEGEN_H_ | 179 #endif // V8_CODEGEN_H_ |
| OLD | NEW |