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

Side by Side Diff: src/x64/lithium-codegen-x64.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/lithium-allocator.cc ('k') | src/x64/lithium-x64.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 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « src/lithium-allocator.cc ('k') | src/x64/lithium-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698