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

Side by Side Diff: src/ia32/lithium-ia32.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/ia32/lithium-ia32.h ('k') | no next file » | 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 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 670
671 671
672 LInstruction* LChunkBuilder::Define(LTemplateInstruction<1>* instr, 672 LInstruction* LChunkBuilder::Define(LTemplateInstruction<1>* instr,
673 LUnallocated* result) { 673 LUnallocated* result) {
674 allocator_->RecordDefinition(current_instruction_, result); 674 allocator_->RecordDefinition(current_instruction_, result);
675 instr->set_result(result); 675 instr->set_result(result);
676 return instr; 676 return instr;
677 } 677 }
678 678
679 679
680 LOperand* LChunkBuilder::Temp() {
681 LUnallocated* operand = new LUnallocated(LUnallocated::NONE);
682 allocator_->RecordTemporary(operand);
683 return operand;
684 }
685
686
687 LUnallocated* LChunkBuilder::TempRegister() { 680 LUnallocated* LChunkBuilder::TempRegister() {
688 LUnallocated* operand = new LUnallocated(LUnallocated::MUST_HAVE_REGISTER); 681 LUnallocated* operand = new LUnallocated(LUnallocated::MUST_HAVE_REGISTER);
689 allocator_->RecordTemporary(operand); 682 allocator_->RecordTemporary(operand);
690 return operand; 683 return operand;
691 } 684 }
692 685
693 686
694 LOperand* LChunkBuilder::FixedTemp(Register reg) { 687 LOperand* LChunkBuilder::FixedTemp(Register reg) {
695 LUnallocated* operand = ToUnallocated(reg); 688 LUnallocated* operand = ToUnallocated(reg);
696 allocator_->RecordTemporary(operand); 689 allocator_->RecordTemporary(operand);
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1925 void LPointerMap::PrintTo(StringStream* stream) { 1918 void LPointerMap::PrintTo(StringStream* stream) {
1926 stream->Add("{"); 1919 stream->Add("{");
1927 for (int i = 0; i < pointer_operands_.length(); ++i) { 1920 for (int i = 0; i < pointer_operands_.length(); ++i) {
1928 if (i != 0) stream->Add(";"); 1921 if (i != 0) stream->Add(";");
1929 pointer_operands_[i]->PrintTo(stream); 1922 pointer_operands_[i]->PrintTo(stream);
1930 } 1923 }
1931 stream->Add("} @%d", position()); 1924 stream->Add("} @%d", position());
1932 } 1925 }
1933 1926
1934 } } // namespace v8::internal 1927 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698