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 are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // 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 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | 27 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
28 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 28 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
29 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 | 30 |
31 // The original source code covered by the above license above has been | 31 // The original source code covered by the above license above has been |
32 // modified significantly by Google Inc. | 32 // modified significantly by Google Inc. |
33 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 33 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
34 | 34 |
35 // A light-weight IA32 Assembler. | 35 // A light-weight IA32 Assembler. |
36 | 36 |
37 #ifndef V8_ASSEMBLER_IA32_INL_H_ | 37 #ifndef V8_IA32_ASSEMBLER_IA32_INL_H_ |
38 #define V8_ASSEMBLER_IA32_INL_H_ | 38 #define V8_IA32_ASSEMBLER_IA32_INL_H_ |
39 | 39 |
40 #include "cpu.h" | 40 #include "cpu.h" |
41 | 41 |
42 namespace v8 { namespace internal { | 42 namespace v8 { namespace internal { |
43 | 43 |
44 Condition NegateCondition(Condition cc) { | 44 Condition NegateCondition(Condition cc) { |
45 return static_cast<Condition>(cc ^ 1); | 45 return static_cast<Condition>(cc ^ 1); |
46 } | 46 } |
47 | 47 |
48 | 48 |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 | 292 |
293 | 293 |
294 Operand::Operand(int32_t disp, RelocInfo::Mode rmode) { | 294 Operand::Operand(int32_t disp, RelocInfo::Mode rmode) { |
295 // [disp/r] | 295 // [disp/r] |
296 set_modrm(0, ebp); | 296 set_modrm(0, ebp); |
297 set_dispr(disp, rmode); | 297 set_dispr(disp, rmode); |
298 } | 298 } |
299 | 299 |
300 } } // namespace v8::internal | 300 } } // namespace v8::internal |
301 | 301 |
302 #endif // V8_ASSEMBLER_IA32_INL_H_ | 302 #endif // V8_IA32_ASSEMBLER_IA32_INL_H_ |
OLD | NEW |