| 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 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 | 732 |
| 733 | 733 |
| 734 void LCodeGen::DoLabel(LLabel* label) { | 734 void LCodeGen::DoLabel(LLabel* label) { |
| 735 if (label->is_loop_header()) { | 735 if (label->is_loop_header()) { |
| 736 Comment(";;; B%d - LOOP entry", label->block_id()); | 736 Comment(";;; B%d - LOOP entry", label->block_id()); |
| 737 } else { | 737 } else { |
| 738 Comment(";;; B%d", label->block_id()); | 738 Comment(";;; B%d", label->block_id()); |
| 739 } | 739 } |
| 740 __ bind(label->label()); | 740 __ bind(label->label()); |
| 741 current_block_ = label->block_id(); | 741 current_block_ = label->block_id(); |
| 742 LCodeGen::DoGap(label); | |
| 743 } | 742 } |
| 744 | 743 |
| 745 | 744 |
| 746 void LCodeGen::DoParallelMove(LParallelMove* move) { | 745 void LCodeGen::DoParallelMove(LParallelMove* move) { |
| 747 resolver_.Resolve(move); | 746 resolver_.Resolve(move); |
| 748 } | 747 } |
| 749 | 748 |
| 750 | 749 |
| 751 void LCodeGen::DoGap(LGap* gap) { | 750 void LCodeGen::DoGap(LGap* gap) { |
| 752 for (int i = LGap::FIRST_INNER_POSITION; | 751 for (int i = LGap::FIRST_INNER_POSITION; |
| (...skipping 3516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4269 ASSERT(!environment->HasBeenRegistered()); | 4268 ASSERT(!environment->HasBeenRegistered()); |
| 4270 RegisterEnvironmentForDeoptimization(environment); | 4269 RegisterEnvironmentForDeoptimization(environment); |
| 4271 ASSERT(osr_pc_offset_ == -1); | 4270 ASSERT(osr_pc_offset_ == -1); |
| 4272 osr_pc_offset_ = masm()->pc_offset(); | 4271 osr_pc_offset_ = masm()->pc_offset(); |
| 4273 } | 4272 } |
| 4274 | 4273 |
| 4275 | 4274 |
| 4276 #undef __ | 4275 #undef __ |
| 4277 | 4276 |
| 4278 } } // namespace v8::internal | 4277 } } // namespace v8::internal |
| OLD | NEW |