| 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 20 matching lines...) Expand all Loading... |
| 31 // OF THE POSSIBILITY OF SUCH DAMAGE. | 31 // OF THE POSSIBILITY OF SUCH DAMAGE. |
| 32 | 32 |
| 33 // The original source code covered by the above license above has been modified | 33 // The original source code covered by the above license above has been modified |
| 34 // significantly by Google Inc. | 34 // significantly by Google Inc. |
| 35 // Copyright 2012 the V8 project authors. All rights reserved. | 35 // Copyright 2012 the V8 project authors. All rights reserved. |
| 36 | 36 |
| 37 #ifndef V8_ARM_ASSEMBLER_ARM_INL_H_ | 37 #ifndef V8_ARM_ASSEMBLER_ARM_INL_H_ |
| 38 #define V8_ARM_ASSEMBLER_ARM_INL_H_ | 38 #define V8_ARM_ASSEMBLER_ARM_INL_H_ |
| 39 | 39 |
| 40 #include "arm/assembler-arm.h" | 40 #include "arm/assembler-arm.h" |
| 41 |
| 41 #include "cpu.h" | 42 #include "cpu.h" |
| 42 #include "debug.h" | 43 #include "debug.h" |
| 43 | 44 |
| 44 | 45 |
| 45 namespace v8 { | 46 namespace v8 { |
| 46 namespace internal { | 47 namespace internal { |
| 47 | 48 |
| 48 | 49 |
| 49 int DwVfpRegister::ToAllocationIndex(DwVfpRegister reg) { | 50 int DwVfpRegister::ToAllocationIndex(DwVfpRegister reg) { |
| 50 ASSERT(!reg.is(kDoubleRegZero)); | 51 ASSERT(!reg.is(kDoubleRegZero)); |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 // CPU::FlushICache(pc, sizeof(target)); | 377 // CPU::FlushICache(pc, sizeof(target)); |
| 377 // However, on ARM, no instruction was actually patched by the assignment | 378 // However, on ARM, no instruction was actually patched by the assignment |
| 378 // above; the target address is not part of an instruction, it is patched in | 379 // above; the target address is not part of an instruction, it is patched in |
| 379 // the constant pool and is read via a data access; the instruction accessing | 380 // the constant pool and is read via a data access; the instruction accessing |
| 380 // this address in the constant pool remains unchanged. | 381 // this address in the constant pool remains unchanged. |
| 381 } | 382 } |
| 382 | 383 |
| 383 } } // namespace v8::internal | 384 } } // namespace v8::internal |
| 384 | 385 |
| 385 #endif // V8_ARM_ASSEMBLER_ARM_INL_H_ | 386 #endif // V8_ARM_ASSEMBLER_ARM_INL_H_ |
| OLD | NEW |