| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 bool eabi_hardfloat = false; | 209 bool eabi_hardfloat = false; |
| 210 #endif | 210 #endif |
| 211 printf(" USE_EABI_HARDFLOAT=%d\n", eabi_hardfloat); | 211 printf(" USE_EABI_HARDFLOAT=%d\n", eabi_hardfloat); |
| 212 } | 212 } |
| 213 | 213 |
| 214 | 214 |
| 215 // ----------------------------------------------------------------------------- | 215 // ----------------------------------------------------------------------------- |
| 216 // Implementation of DwVfpRegister | 216 // Implementation of DwVfpRegister |
| 217 | 217 |
| 218 const char* DwVfpRegister::AllocationIndexToString(int index) { | 218 const char* DwVfpRegister::AllocationIndexToString(int index) { |
| 219 DCHECK(index >= 0 && index < NumAllocatableRegisters()); | 219 DCHECK(index >= 0 && index < kMaxNumAllocatableRegisters); |
| 220 DCHECK(kScratchDoubleReg.code() - kDoubleRegZero.code() == | 220 DCHECK(kScratchDoubleReg.code() - kDoubleRegZero.code() == |
| 221 kNumReservedRegisters - 1); | 221 kNumReservedRegisters - 1); |
| 222 if (index >= kDoubleRegZero.code()) index += kNumReservedRegisters; | 222 if (index >= kDoubleRegZero.code()) index += kNumReservedRegisters; |
| 223 return VFPRegisters::Name(index, true); | 223 return VFPRegisters::Name(index, true); |
| 224 } | 224 } |
| 225 | 225 |
| 226 | 226 |
| 227 // ----------------------------------------------------------------------------- | 227 // ----------------------------------------------------------------------------- |
| 228 // Implementation of RelocInfo | 228 // Implementation of RelocInfo |
| 229 | 229 |
| (...skipping 3751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3981 DCHECK(is_uint12(offset)); | 3981 DCHECK(is_uint12(offset)); |
| 3982 instr_at_put(pc, SetLdrRegisterImmediateOffset(instr, offset)); | 3982 instr_at_put(pc, SetLdrRegisterImmediateOffset(instr, offset)); |
| 3983 } | 3983 } |
| 3984 } | 3984 } |
| 3985 | 3985 |
| 3986 | 3986 |
| 3987 } // namespace internal | 3987 } // namespace internal |
| 3988 } // namespace v8 | 3988 } // namespace v8 |
| 3989 | 3989 |
| 3990 #endif // V8_TARGET_ARCH_ARM | 3990 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |