| 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 24 matching lines...) Expand all Loading... |
| 35 // ProcessDeclarations | 35 // ProcessDeclarations |
| 36 // DeclareGlobals | 36 // DeclareGlobals |
| 37 // CheckForInlineRuntimeCall | 37 // CheckForInlineRuntimeCall |
| 38 // AnalyzeCondition | 38 // AnalyzeCondition |
| 39 // CodeForFunctionPosition | 39 // CodeForFunctionPosition |
| 40 // CodeForReturnPosition | 40 // CodeForReturnPosition |
| 41 // CodeForStatementPosition | 41 // CodeForStatementPosition |
| 42 // CodeForDoWhileConditionPosition | 42 // CodeForDoWhileConditionPosition |
| 43 // CodeForSourcePosition | 43 // CodeForSourcePosition |
| 44 | 44 |
| 45 enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; | |
| 46 | |
| 47 #if V8_TARGET_ARCH_IA32 | 45 #if V8_TARGET_ARCH_IA32 |
| 48 #include "src/ia32/codegen-ia32.h" // NOLINT | 46 #include "src/ia32/codegen-ia32.h" // NOLINT |
| 49 #elif V8_TARGET_ARCH_X64 | 47 #elif V8_TARGET_ARCH_X64 |
| 50 #include "src/x64/codegen-x64.h" // NOLINT | 48 #include "src/x64/codegen-x64.h" // NOLINT |
| 51 #elif V8_TARGET_ARCH_ARM64 | 49 #elif V8_TARGET_ARCH_ARM64 |
| 52 #include "src/arm64/codegen-arm64.h" // NOLINT | 50 #include "src/arm64/codegen-arm64.h" // NOLINT |
| 53 #elif V8_TARGET_ARCH_ARM | 51 #elif V8_TARGET_ARCH_ARM |
| 54 #include "src/arm/codegen-arm.h" // NOLINT | 52 #include "src/arm/codegen-arm.h" // NOLINT |
| 55 #elif V8_TARGET_ARCH_PPC | 53 #elif V8_TARGET_ARCH_PPC |
| 56 #include "src/ppc/codegen-ppc.h" // NOLINT | 54 #include "src/ppc/codegen-ppc.h" // NOLINT |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 #ifdef DEBUG | 167 #ifdef DEBUG |
| 170 #ifdef V8_TARGET_ARCH_ARM64 | 168 #ifdef V8_TARGET_ARCH_ARM64 |
| 171 const EmbeddedVector<byte, kNoCodeAgeSequenceLength> old_sequence_; | 169 const EmbeddedVector<byte, kNoCodeAgeSequenceLength> old_sequence_; |
| 172 #endif | 170 #endif |
| 173 #endif | 171 #endif |
| 174 }; | 172 }; |
| 175 | 173 |
| 176 } } // namespace v8::internal | 174 } } // namespace v8::internal |
| 177 | 175 |
| 178 #endif // V8_CODEGEN_H_ | 176 #endif // V8_CODEGEN_H_ |
| OLD | NEW |