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

Side by Side Diff: src/ia32/lithium-ia32.cc

Issue 6025014: Remove unused policy from register allocator.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 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/ia32/lithium-ia32.h ('k') | src/lithium-allocator.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 LInstruction* LChunkBuilder::DefineAsRegister(LInstruction* instr) { 760 LInstruction* LChunkBuilder::DefineAsRegister(LInstruction* instr) {
761 return Define(instr, new LUnallocated(LUnallocated::MUST_HAVE_REGISTER)); 761 return Define(instr, new LUnallocated(LUnallocated::MUST_HAVE_REGISTER));
762 } 762 }
763 763
764 764
765 LInstruction* LChunkBuilder::DefineAsSpilled(LInstruction* instr, int index) { 765 LInstruction* LChunkBuilder::DefineAsSpilled(LInstruction* instr, int index) {
766 return Define(instr, new LUnallocated(LUnallocated::FIXED_SLOT, index)); 766 return Define(instr, new LUnallocated(LUnallocated::FIXED_SLOT, index));
767 } 767 }
768 768
769 769
770 LInstruction* LChunkBuilder::DefineSameAsAny(LInstruction* instr) {
771 return Define(instr, new LUnallocated(LUnallocated::SAME_AS_ANY_INPUT));
772 }
773
774
775 LInstruction* LChunkBuilder::DefineSameAsFirst(LInstruction* instr) { 770 LInstruction* LChunkBuilder::DefineSameAsFirst(LInstruction* instr) {
776 return Define(instr, new LUnallocated(LUnallocated::SAME_AS_FIRST_INPUT)); 771 return Define(instr, new LUnallocated(LUnallocated::SAME_AS_FIRST_INPUT));
777 } 772 }
778 773
779 774
780 LInstruction* LChunkBuilder::DefineFixed(LInstruction* instr, Register reg) { 775 LInstruction* LChunkBuilder::DefineFixed(LInstruction* instr, Register reg) {
781 return Define(instr, ToUnallocated(reg)); 776 return Define(instr, ToUnallocated(reg));
782 } 777 }
783 778
784 779
(...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after
2113 void LPointerMap::PrintTo(StringStream* stream) const { 2108 void LPointerMap::PrintTo(StringStream* stream) const {
2114 stream->Add("{"); 2109 stream->Add("{");
2115 for (int i = 0; i < pointer_operands_.length(); ++i) { 2110 for (int i = 0; i < pointer_operands_.length(); ++i) {
2116 if (i != 0) stream->Add(";"); 2111 if (i != 0) stream->Add(";");
2117 pointer_operands_[i]->PrintTo(stream); 2112 pointer_operands_[i]->PrintTo(stream);
2118 } 2113 }
2119 stream->Add("} @%d", position()); 2114 stream->Add("} @%d", position());
2120 } 2115 }
2121 2116
2122 } } // namespace v8::internal 2117 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/lithium-allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698