| 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 2576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2587 } | 2587 } |
| 2588 | 2588 |
| 2589 | 2589 |
| 2590 void Assembler::RecordDebugBreakSlot() { | 2590 void Assembler::RecordDebugBreakSlot() { |
| 2591 positions_recorder()->WriteRecordedPositions(); | 2591 positions_recorder()->WriteRecordedPositions(); |
| 2592 EnsureSpace ensure_space(this); | 2592 EnsureSpace ensure_space(this); |
| 2593 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT); | 2593 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT); |
| 2594 } | 2594 } |
| 2595 | 2595 |
| 2596 | 2596 |
| 2597 void Assembler::RecordComment(const char* msg) { | 2597 void Assembler::RecordComment(const char* msg, bool force) { |
| 2598 if (FLAG_code_comments) { | 2598 if (FLAG_code_comments || force) { |
| 2599 EnsureSpace ensure_space(this); | 2599 EnsureSpace ensure_space(this); |
| 2600 RecordRelocInfo(RelocInfo::COMMENT, reinterpret_cast<intptr_t>(msg)); | 2600 RecordRelocInfo(RelocInfo::COMMENT, reinterpret_cast<intptr_t>(msg)); |
| 2601 } | 2601 } |
| 2602 } | 2602 } |
| 2603 | 2603 |
| 2604 | 2604 |
| 2605 void Assembler::GrowBuffer() { | 2605 void Assembler::GrowBuffer() { |
| 2606 ASSERT(overflow()); | 2606 ASSERT(overflow()); |
| 2607 if (!own_buffer_) FATAL("external code buffer is too small"); | 2607 if (!own_buffer_) FATAL("external code buffer is too small"); |
| 2608 | 2608 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2778 fprintf(coverage_log, "%s\n", file_line); | 2778 fprintf(coverage_log, "%s\n", file_line); |
| 2779 fflush(coverage_log); | 2779 fflush(coverage_log); |
| 2780 } | 2780 } |
| 2781 } | 2781 } |
| 2782 | 2782 |
| 2783 #endif | 2783 #endif |
| 2784 | 2784 |
| 2785 } } // namespace v8::internal | 2785 } } // namespace v8::internal |
| 2786 | 2786 |
| 2787 #endif // V8_TARGET_ARCH_IA32 | 2787 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |