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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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-codegen-arm.cc ('k') | src/ia32/lithium-ia32.h » ('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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 682
683 683
684 void LCodeGen::DoLabel(LLabel* label) { 684 void LCodeGen::DoLabel(LLabel* label) {
685 if (label->is_loop_header()) { 685 if (label->is_loop_header()) {
686 Comment(";;; B%d - LOOP entry", label->block_id()); 686 Comment(";;; B%d - LOOP entry", label->block_id());
687 } else { 687 } else {
688 Comment(";;; B%d", label->block_id()); 688 Comment(";;; B%d", label->block_id());
689 } 689 }
690 __ bind(label->label()); 690 __ bind(label->label());
691 current_block_ = label->block_id(); 691 current_block_ = label->block_id();
692 LCodeGen::DoGap(label);
693 } 692 }
694 693
695 694
696 void LCodeGen::DoParallelMove(LParallelMove* move) { 695 void LCodeGen::DoParallelMove(LParallelMove* move) {
697 resolver_.Resolve(move); 696 resolver_.Resolve(move);
698 } 697 }
699 698
700 699
701 void LCodeGen::DoGap(LGap* gap) { 700 void LCodeGen::DoGap(LGap* gap) {
702 for (int i = LGap::FIRST_INNER_POSITION; 701 for (int i = LGap::FIRST_INNER_POSITION;
(...skipping 3505 matching lines...) Expand 10 before | Expand all | Expand 10 after
4208 ASSERT(osr_pc_offset_ == -1); 4207 ASSERT(osr_pc_offset_ == -1);
4209 osr_pc_offset_ = masm()->pc_offset(); 4208 osr_pc_offset_ = masm()->pc_offset();
4210 } 4209 }
4211 4210
4212 4211
4213 #undef __ 4212 #undef __
4214 4213
4215 } } // namespace v8::internal 4214 } } // namespace v8::internal
4216 4215
4217 #endif // V8_TARGET_ARCH_IA32 4216 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698