OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 void LCodeGen::RecordSafepointWithRegistersAndDoubles( | 763 void LCodeGen::RecordSafepointWithRegistersAndDoubles( |
764 LPointerMap* pointers, | 764 LPointerMap* pointers, |
765 int arguments, | 765 int arguments, |
766 int deoptimization_index) { | 766 int deoptimization_index) { |
767 RecordSafepoint(pointers, Safepoint::kWithRegistersAndDoubles, arguments, | 767 RecordSafepoint(pointers, Safepoint::kWithRegistersAndDoubles, arguments, |
768 deoptimization_index); | 768 deoptimization_index); |
769 } | 769 } |
770 | 770 |
771 | 771 |
772 void LCodeGen::RecordPosition(int position) { | 772 void LCodeGen::RecordPosition(int position) { |
773 if (!FLAG_debug_info || position == RelocInfo::kNoPosition) return; | 773 if (position == RelocInfo::kNoPosition) return; |
774 masm()->positions_recorder()->RecordPosition(position); | 774 masm()->positions_recorder()->RecordPosition(position); |
775 } | 775 } |
776 | 776 |
777 | 777 |
778 void LCodeGen::DoLabel(LLabel* label) { | 778 void LCodeGen::DoLabel(LLabel* label) { |
779 if (label->is_loop_header()) { | 779 if (label->is_loop_header()) { |
780 Comment(";;; B%d - LOOP entry", label->block_id()); | 780 Comment(";;; B%d - LOOP entry", label->block_id()); |
781 } else { | 781 } else { |
782 Comment(";;; B%d", label->block_id()); | 782 Comment(";;; B%d", label->block_id()); |
783 } | 783 } |
(...skipping 3802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4586 ASSERT(osr_pc_offset_ == -1); | 4586 ASSERT(osr_pc_offset_ == -1); |
4587 osr_pc_offset_ = masm()->pc_offset(); | 4587 osr_pc_offset_ = masm()->pc_offset(); |
4588 } | 4588 } |
4589 | 4589 |
4590 | 4590 |
4591 | 4591 |
4592 | 4592 |
4593 #undef __ | 4593 #undef __ |
4594 | 4594 |
4595 } } // namespace v8::internal | 4595 } } // namespace v8::internal |
OLD | NEW |