| 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 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 986 | 986 |
| 987 | 987 |
| 988 void Assembler::dec_b(Register dst) { | 988 void Assembler::dec_b(Register dst) { |
| 989 EnsureSpace ensure_space(this); | 989 EnsureSpace ensure_space(this); |
| 990 last_pc_ = pc_; | 990 last_pc_ = pc_; |
| 991 EMIT(0xFE); | 991 EMIT(0xFE); |
| 992 EMIT(0xC8 | dst.code()); | 992 EMIT(0xC8 | dst.code()); |
| 993 } | 993 } |
| 994 | 994 |
| 995 | 995 |
| 996 void Assembler::dec_b(const Operand& dst) { |
| 997 EnsureSpace ensure_space(this); |
| 998 last_pc_ = pc_; |
| 999 EMIT(0xFE); |
| 1000 emit_operand(ecx, dst); |
| 1001 } |
| 1002 |
| 1003 |
| 996 void Assembler::dec(Register dst) { | 1004 void Assembler::dec(Register dst) { |
| 997 EnsureSpace ensure_space(this); | 1005 EnsureSpace ensure_space(this); |
| 998 last_pc_ = pc_; | 1006 last_pc_ = pc_; |
| 999 EMIT(0x48 | dst.code()); | 1007 EMIT(0x48 | dst.code()); |
| 1000 } | 1008 } |
| 1001 | 1009 |
| 1002 | 1010 |
| 1003 void Assembler::dec(const Operand& dst) { | 1011 void Assembler::dec(const Operand& dst) { |
| 1004 EnsureSpace ensure_space(this); | 1012 EnsureSpace ensure_space(this); |
| 1005 last_pc_ = pc_; | 1013 last_pc_ = pc_; |
| (...skipping 1677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2683 fprintf(coverage_log, "%s\n", file_line); | 2691 fprintf(coverage_log, "%s\n", file_line); |
| 2684 fflush(coverage_log); | 2692 fflush(coverage_log); |
| 2685 } | 2693 } |
| 2686 } | 2694 } |
| 2687 | 2695 |
| 2688 #endif | 2696 #endif |
| 2689 | 2697 |
| 2690 } } // namespace v8::internal | 2698 } } // namespace v8::internal |
| 2691 | 2699 |
| 2692 #endif // V8_TARGET_ARCH_IA32 | 2700 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |