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.h" | 10 #include "src/ast.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 UNREACHABLE(); | 69 UNREACHABLE(); |
70 return NULL; | 70 return NULL; |
71 } | 71 } |
72 | 72 |
73 static const int kMaxBackEdgeWeight = 127; | 73 static const int kMaxBackEdgeWeight = 127; |
74 | 74 |
75 // Platform-specific code size multiplier. | 75 // Platform-specific code size multiplier. |
76 #if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X87 | 76 #if V8_TARGET_ARCH_IA32 || V8_TARGET_ARCH_X87 |
77 static const int kCodeSizeMultiplier = 105; | 77 static const int kCodeSizeMultiplier = 105; |
78 #elif V8_TARGET_ARCH_X64 | 78 #elif V8_TARGET_ARCH_X64 |
79 static const int kCodeSizeMultiplier = 170; | 79 static const int kCodeSizeMultiplier = 165; |
80 #elif V8_TARGET_ARCH_ARM | 80 #elif V8_TARGET_ARCH_ARM |
81 static const int kCodeSizeMultiplier = 149; | 81 static const int kCodeSizeMultiplier = 149; |
82 #elif V8_TARGET_ARCH_ARM64 | 82 #elif V8_TARGET_ARCH_ARM64 |
83 // TODO(all): Copied ARM value. Check this is sensible for ARM64. | 83 // TODO(all): Copied ARM value. Check this is sensible for ARM64. |
84 static const int kCodeSizeMultiplier = 149; | 84 static const int kCodeSizeMultiplier = 149; |
85 #elif V8_TARGET_ARCH_PPC64 | 85 #elif V8_TARGET_ARCH_PPC64 |
86 static const int kCodeSizeMultiplier = 200; | 86 static const int kCodeSizeMultiplier = 200; |
87 #elif V8_TARGET_ARCH_PPC | 87 #elif V8_TARGET_ARCH_PPC |
88 static const int kCodeSizeMultiplier = 200; | 88 static const int kCodeSizeMultiplier = 200; |
89 #elif V8_TARGET_ARCH_MIPS | 89 #elif V8_TARGET_ARCH_MIPS |
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1082 | 1082 |
1083 Address start_; | 1083 Address start_; |
1084 Address instruction_start_; | 1084 Address instruction_start_; |
1085 uint32_t length_; | 1085 uint32_t length_; |
1086 }; | 1086 }; |
1087 | 1087 |
1088 | 1088 |
1089 } } // namespace v8::internal | 1089 } } // namespace v8::internal |
1090 | 1090 |
1091 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 1091 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
OLD | NEW |