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_FULL_CODEGEN_FULL_CODEGEN_H_ | 5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assert-scope.h" | 9 #include "src/assert-scope.h" |
10 #include "src/ast/ast.h" | 10 #include "src/ast/ast.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 #elif V8_TARGET_ARCH_ARM64 | 86 #elif V8_TARGET_ARCH_ARM64 |
87 static const int kCodeSizeMultiplier = 220; | 87 static const int kCodeSizeMultiplier = 220; |
88 #elif V8_TARGET_ARCH_PPC64 | 88 #elif V8_TARGET_ARCH_PPC64 |
89 static const int kCodeSizeMultiplier = 200; | 89 static const int kCodeSizeMultiplier = 200; |
90 #elif V8_TARGET_ARCH_PPC | 90 #elif V8_TARGET_ARCH_PPC |
91 static const int kCodeSizeMultiplier = 200; | 91 static const int kCodeSizeMultiplier = 200; |
92 #elif V8_TARGET_ARCH_MIPS | 92 #elif V8_TARGET_ARCH_MIPS |
93 static const int kCodeSizeMultiplier = 149; | 93 static const int kCodeSizeMultiplier = 149; |
94 #elif V8_TARGET_ARCH_MIPS64 | 94 #elif V8_TARGET_ARCH_MIPS64 |
95 static const int kCodeSizeMultiplier = 149; | 95 static const int kCodeSizeMultiplier = 149; |
| 96 #elif V8_TARGET_ARCH_S390 |
| 97 // TODO(joransiu): Copied PPC value. Check this is sensible for S390. |
| 98 static const int kCodeSizeMultiplier = 200; |
| 99 #elif V8_TARGET_ARCH_S390X |
| 100 // TODO(joransiu): Copied PPC value. Check this is sensible for S390X. |
| 101 static const int kCodeSizeMultiplier = 200; |
96 #else | 102 #else |
97 #error Unsupported target architecture. | 103 #error Unsupported target architecture. |
98 #endif | 104 #endif |
99 | 105 |
100 static Register result_register(); | 106 static Register result_register(); |
101 | 107 |
102 private: | 108 private: |
103 class Breakable; | 109 class Breakable; |
104 class Iteration; | 110 class Iteration; |
105 class TryFinally; | 111 class TryFinally; |
(...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1059 Address start_; | 1065 Address start_; |
1060 Address instruction_start_; | 1066 Address instruction_start_; |
1061 uint32_t length_; | 1067 uint32_t length_; |
1062 }; | 1068 }; |
1063 | 1069 |
1064 | 1070 |
1065 } // namespace internal | 1071 } // namespace internal |
1066 } // namespace v8 | 1072 } // namespace v8 |
1067 | 1073 |
1068 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 1074 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
OLD | NEW |