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 16 matching lines...) Expand all Loading... |
27 // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | 27 // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
28 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | 28 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
29 // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 29 // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
30 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 30 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
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 2006-2008 the V8 project authors. All rights reserved. | 35 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
36 | 36 |
37 #ifndef V8_ASSEMBLER_ARM_INL_H_ | 37 #ifndef V8_ARM_ASSEMBLER_ARM_INL_H_ |
38 #define V8_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 #include "cpu.h" | 41 #include "cpu.h" |
42 | 42 |
43 | 43 |
44 namespace v8 { namespace internal { | 44 namespace v8 { namespace internal { |
45 | 45 |
46 Condition NegateCondition(Condition cc) { | 46 Condition NegateCondition(Condition cc) { |
47 ASSERT(cc != al); | 47 ASSERT(cc != al); |
48 return static_cast<Condition>(cc ^ ne); | 48 return static_cast<Condition>(cc ^ ne); |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 // after patching a target address in the code as follows: | 239 // after patching a target address in the code as follows: |
240 // CPU::FlushICache(pc, sizeof(target)); | 240 // CPU::FlushICache(pc, sizeof(target)); |
241 // However, on ARM, no instruction was actually patched by the assignment | 241 // However, on ARM, no instruction was actually patched by the assignment |
242 // above; the target address is not part of an instruction, it is patched in | 242 // above; the target address is not part of an instruction, it is patched in |
243 // the constant pool and is read via a data access; the instruction accessing | 243 // the constant pool and is read via a data access; the instruction accessing |
244 // this address in the constant pool remains unchanged. | 244 // this address in the constant pool remains unchanged. |
245 } | 245 } |
246 | 246 |
247 } } // namespace v8::internal | 247 } } // namespace v8::internal |
248 | 248 |
249 #endif // V8_ASSEMBLER_ARM_INL_H_ | 249 #endif // V8_ARM_ASSEMBLER_ARM_INL_H_ |
OLD | NEW |