| 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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 emit_arith(7, Operand(reg), Immediate(handle)); | 667 emit_arith(7, Operand(reg), Immediate(handle)); |
| 668 } | 668 } |
| 669 | 669 |
| 670 | 670 |
| 671 void Assembler::cmp(Register reg, const Operand& op) { | 671 void Assembler::cmp(Register reg, const Operand& op) { |
| 672 EnsureSpace ensure_space(this); | 672 EnsureSpace ensure_space(this); |
| 673 EMIT(0x3B); | 673 EMIT(0x3B); |
| 674 emit_operand(reg, op); | 674 emit_operand(reg, op); |
| 675 } | 675 } |
| 676 | 676 |
| 677 void Assembler::cmp(const Operand& op, Register reg) { |
| 678 EnsureSpace ensure_space(this); |
| 679 EMIT(0x39); |
| 680 emit_operand(reg, op); |
| 681 } |
| 677 | 682 |
| 678 void Assembler::cmp(const Operand& op, const Immediate& imm) { | 683 void Assembler::cmp(const Operand& op, const Immediate& imm) { |
| 679 EnsureSpace ensure_space(this); | 684 EnsureSpace ensure_space(this); |
| 680 emit_arith(7, op, imm); | 685 emit_arith(7, op, imm); |
| 681 } | 686 } |
| 682 | 687 |
| 683 | 688 |
| 684 void Assembler::cmp(const Operand& op, Handle<Object> handle) { | 689 void Assembler::cmp(const Operand& op, Handle<Object> handle) { |
| 685 EnsureSpace ensure_space(this); | 690 EnsureSpace ensure_space(this); |
| 686 emit_arith(7, op, Immediate(handle)); | 691 emit_arith(7, op, Immediate(handle)); |
| (...skipping 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2108 fflush(coverage_log); | 2113 fflush(coverage_log); |
| 2109 } | 2114 } |
| 2110 } | 2115 } |
| 2111 | 2116 |
| 2112 #endif | 2117 #endif |
| 2113 | 2118 |
| 2114 } // namespace internal | 2119 } // namespace internal |
| 2115 } // namespace v8 | 2120 } // namespace v8 |
| 2116 | 2121 |
| 2117 #endif // V8_TARGET_ARCH_X87 | 2122 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |