Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Side by Side Diff: src/arm/lithium-codegen-arm.cc

Issue 6873075: Lithium LLabel instruction are no longer used as gap instructions. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698