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 2456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2467 void Assembler::emit_sse_operand(Register dst, XMMRegister src) { | 2467 void Assembler::emit_sse_operand(Register dst, XMMRegister src) { |
2468 EMIT(0xC0 | dst.code() << 3 | src.code()); | 2468 EMIT(0xC0 | dst.code() << 3 | src.code()); |
2469 } | 2469 } |
2470 | 2470 |
2471 | 2471 |
2472 void Assembler::emit_sse_operand(XMMRegister dst, Register src) { | 2472 void Assembler::emit_sse_operand(XMMRegister dst, Register src) { |
2473 EMIT(0xC0 | (dst.code() << 3) | src.code()); | 2473 EMIT(0xC0 | (dst.code() << 3) | src.code()); |
2474 } | 2474 } |
2475 | 2475 |
2476 | 2476 |
2477 void Assembler::Print() { | |
2478 Disassembler::Decode(isolate(), stdout, buffer_, pc_); | |
2479 } | |
2480 | |
2481 | |
2482 void Assembler::RecordJSReturn() { | 2477 void Assembler::RecordJSReturn() { |
2483 positions_recorder()->WriteRecordedPositions(); | 2478 positions_recorder()->WriteRecordedPositions(); |
2484 EnsureSpace ensure_space(this); | 2479 EnsureSpace ensure_space(this); |
2485 RecordRelocInfo(RelocInfo::JS_RETURN); | 2480 RecordRelocInfo(RelocInfo::JS_RETURN); |
2486 } | 2481 } |
2487 | 2482 |
2488 | 2483 |
2489 void Assembler::RecordDebugBreakSlot() { | 2484 void Assembler::RecordDebugBreakSlot() { |
2490 positions_recorder()->WriteRecordedPositions(); | 2485 positions_recorder()->WriteRecordedPositions(); |
2491 EnsureSpace ensure_space(this); | 2486 EnsureSpace ensure_space(this); |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2672 fprintf(coverage_log, "%s\n", file_line); | 2667 fprintf(coverage_log, "%s\n", file_line); |
2673 fflush(coverage_log); | 2668 fflush(coverage_log); |
2674 } | 2669 } |
2675 } | 2670 } |
2676 | 2671 |
2677 #endif | 2672 #endif |
2678 | 2673 |
2679 } } // namespace v8::internal | 2674 } } // namespace v8::internal |
2680 | 2675 |
2681 #endif // V8_TARGET_ARCH_IA32 | 2676 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |