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); |
693 } | 694 } |
694 | 695 |
695 | 696 |
696 void LCodeGen::DoParallelMove(LParallelMove* move) { | 697 void LCodeGen::DoParallelMove(LParallelMove* move) { |
697 resolver_.Resolve(move); | 698 resolver_.Resolve(move); |
698 } | 699 } |
699 | 700 |
700 | 701 |
701 void LCodeGen::DoGap(LGap* gap) { | 702 void LCodeGen::DoGap(LGap* gap) { |
702 for (int i = LGap::FIRST_INNER_POSITION; | 703 for (int i = LGap::FIRST_INNER_POSITION; |
(...skipping 3312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4015 RegisterEnvironmentForDeoptimization(environment); | 4016 RegisterEnvironmentForDeoptimization(environment); |
4016 ASSERT(osr_pc_offset_ == -1); | 4017 ASSERT(osr_pc_offset_ == -1); |
4017 osr_pc_offset_ = masm()->pc_offset(); | 4018 osr_pc_offset_ = masm()->pc_offset(); |
4018 } | 4019 } |
4019 | 4020 |
4020 #undef __ | 4021 #undef __ |
4021 | 4022 |
4022 } } // namespace v8::internal | 4023 } } // namespace v8::internal |
4023 | 4024 |
4024 #endif // V8_TARGET_ARCH_X64 | 4025 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |