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

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

Issue 6217003: Remove unused Temp() function form LChunkBuilder. (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/arm/lithium-arm.h ('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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 } 669 }
670 670
671 671
672 LInstruction* LChunkBuilder::Define(LInstruction* instr, LUnallocated* result) { 672 LInstruction* LChunkBuilder::Define(LInstruction* instr, LUnallocated* result) {
673 allocator_->RecordDefinition(current_instruction_, result); 673 allocator_->RecordDefinition(current_instruction_, result);
674 instr->set_result(result); 674 instr->set_result(result);
675 return instr; 675 return instr;
676 } 676 }
677 677
678 678
679 LOperand* LChunkBuilder::Temp() {
680 LUnallocated* operand = new LUnallocated(LUnallocated::NONE);
681 allocator_->RecordTemporary(operand);
682 return operand;
683 }
684
685
686 LUnallocated* LChunkBuilder::TempRegister() { 679 LUnallocated* LChunkBuilder::TempRegister() {
687 LUnallocated* operand = new LUnallocated(LUnallocated::MUST_HAVE_REGISTER); 680 LUnallocated* operand = new LUnallocated(LUnallocated::MUST_HAVE_REGISTER);
688 allocator_->RecordTemporary(operand); 681 allocator_->RecordTemporary(operand);
689 return operand; 682 return operand;
690 } 683 }
691 684
692 685
693 LOperand* LChunkBuilder::FixedTemp(Register reg) { 686 LOperand* LChunkBuilder::FixedTemp(Register reg) {
694 LUnallocated* operand = ToUnallocated(reg); 687 LUnallocated* operand = ToUnallocated(reg);
695 allocator_->RecordTemporary(operand); 688 allocator_->RecordTemporary(operand);
(...skipping 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1909 void LPointerMap::PrintTo(StringStream* stream) const { 1902 void LPointerMap::PrintTo(StringStream* stream) const {
1910 stream->Add("{"); 1903 stream->Add("{");
1911 for (int i = 0; i < pointer_operands_.length(); ++i) { 1904 for (int i = 0; i < pointer_operands_.length(); ++i) {
1912 if (i != 0) stream->Add(";"); 1905 if (i != 0) stream->Add(";");
1913 pointer_operands_[i]->PrintTo(stream); 1906 pointer_operands_[i]->PrintTo(stream);
1914 } 1907 }
1915 stream->Add("} @%d", position()); 1908 stream->Add("} @%d", position());
1916 } 1909 }
1917 1910
1918 } } // namespace v8::internal 1911 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/ia32/lithium-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698