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 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 | 683 |
684 | 684 |
685 void LCodeGen::DoLabel(LLabel* label) { | 685 void LCodeGen::DoLabel(LLabel* label) { |
686 if (label->is_loop_header()) { | 686 if (label->is_loop_header()) { |
687 Comment(";;; B%d - LOOP entry", label->block_id()); | 687 Comment(";;; B%d - LOOP entry", label->block_id()); |
688 } else { | 688 } else { |
689 Comment(";;; B%d", label->block_id()); | 689 Comment(";;; B%d", label->block_id()); |
690 } | 690 } |
691 __ bind(label->label()); | 691 __ bind(label->label()); |
692 current_block_ = label->block_id(); | 692 current_block_ = label->block_id(); |
693 LCodeGen::DoGap(label); | |
694 } | 693 } |
695 | 694 |
696 | 695 |
697 void LCodeGen::DoParallelMove(LParallelMove* move) { | 696 void LCodeGen::DoParallelMove(LParallelMove* move) { |
698 resolver_.Resolve(move); | 697 resolver_.Resolve(move); |
699 } | 698 } |
700 | 699 |
701 | 700 |
702 void LCodeGen::DoGap(LGap* gap) { | 701 void LCodeGen::DoGap(LGap* gap) { |
703 for (int i = LGap::FIRST_INNER_POSITION; | 702 for (int i = LGap::FIRST_INNER_POSITION; |
(...skipping 3312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4016 RegisterEnvironmentForDeoptimization(environment); | 4015 RegisterEnvironmentForDeoptimization(environment); |
4017 ASSERT(osr_pc_offset_ == -1); | 4016 ASSERT(osr_pc_offset_ == -1); |
4018 osr_pc_offset_ = masm()->pc_offset(); | 4017 osr_pc_offset_ = masm()->pc_offset(); |
4019 } | 4018 } |
4020 | 4019 |
4021 #undef __ | 4020 #undef __ |
4022 | 4021 |
4023 } } // namespace v8::internal | 4022 } } // namespace v8::internal |
4024 | 4023 |
4025 #endif // V8_TARGET_ARCH_X64 | 4024 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |