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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 | 685 |
686 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, | 686 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, |
687 int arguments, | 687 int arguments, |
688 int deoptimization_index) { | 688 int deoptimization_index) { |
689 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, | 689 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, |
690 deoptimization_index); | 690 deoptimization_index); |
691 } | 691 } |
692 | 692 |
693 | 693 |
694 void LCodeGen::RecordPosition(int position) { | 694 void LCodeGen::RecordPosition(int position) { |
695 if (!FLAG_debug_info || position == RelocInfo::kNoPosition) return; | 695 if (position == RelocInfo::kNoPosition) return; |
696 masm()->positions_recorder()->RecordPosition(position); | 696 masm()->positions_recorder()->RecordPosition(position); |
697 } | 697 } |
698 | 698 |
699 | 699 |
700 void LCodeGen::DoLabel(LLabel* label) { | 700 void LCodeGen::DoLabel(LLabel* label) { |
701 if (label->is_loop_header()) { | 701 if (label->is_loop_header()) { |
702 Comment(";;; B%d - LOOP entry", label->block_id()); | 702 Comment(";;; B%d - LOOP entry", label->block_id()); |
703 } else { | 703 } else { |
704 Comment(";;; B%d", label->block_id()); | 704 Comment(";;; B%d", label->block_id()); |
705 } | 705 } |
(...skipping 3561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4267 RegisterEnvironmentForDeoptimization(environment); | 4267 RegisterEnvironmentForDeoptimization(environment); |
4268 ASSERT(osr_pc_offset_ == -1); | 4268 ASSERT(osr_pc_offset_ == -1); |
4269 osr_pc_offset_ = masm()->pc_offset(); | 4269 osr_pc_offset_ = masm()->pc_offset(); |
4270 } | 4270 } |
4271 | 4271 |
4272 #undef __ | 4272 #undef __ |
4273 | 4273 |
4274 } } // namespace v8::internal | 4274 } } // namespace v8::internal |
4275 | 4275 |
4276 #endif // V8_TARGET_ARCH_X64 | 4276 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |