| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 | 123 |
| 124 static const int kMaxBackEdgeWeight = 127; | 124 static const int kMaxBackEdgeWeight = 127; |
| 125 | 125 |
| 126 // Platform-specific code size multiplier. | 126 // Platform-specific code size multiplier. |
| 127 #if V8_TARGET_ARCH_IA32 | 127 #if V8_TARGET_ARCH_IA32 |
| 128 static const int kCodeSizeMultiplier = 100; | 128 static const int kCodeSizeMultiplier = 100; |
| 129 #elif V8_TARGET_ARCH_X64 | 129 #elif V8_TARGET_ARCH_X64 |
| 130 static const int kCodeSizeMultiplier = 162; | 130 static const int kCodeSizeMultiplier = 162; |
| 131 #elif V8_TARGET_ARCH_ARM | 131 #elif V8_TARGET_ARCH_ARM |
| 132 static const int kCodeSizeMultiplier = 142; | 132 static const int kCodeSizeMultiplier = 142; |
| 133 #elif V8_TARGET_ARCH_A64 |
| 134 // TODO(all): Copied ARM value. Check this is sensible for A64. |
| 135 static const int kCodeSizeMultiplier = 142; |
| 133 #elif V8_TARGET_ARCH_MIPS | 136 #elif V8_TARGET_ARCH_MIPS |
| 134 static const int kCodeSizeMultiplier = 142; | 137 static const int kCodeSizeMultiplier = 142; |
| 135 #else | 138 #else |
| 136 #error Unsupported target architecture. | 139 #error Unsupported target architecture. |
| 137 #endif | 140 #endif |
| 138 | 141 |
| 139 private: | 142 private: |
| 140 class Breakable; | 143 class Breakable; |
| 141 class Iteration; | 144 class Iteration; |
| 142 | 145 |
| (...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 963 | 966 |
| 964 Address start_; | 967 Address start_; |
| 965 Address instruction_start_; | 968 Address instruction_start_; |
| 966 uint32_t length_; | 969 uint32_t length_; |
| 967 }; | 970 }; |
| 968 | 971 |
| 969 | 972 |
| 970 } } // namespace v8::internal | 973 } } // namespace v8::internal |
| 971 | 974 |
| 972 #endif // V8_FULL_CODEGEN_H_ | 975 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |