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

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

Issue 9301040: Remove a little more dead code from lithium-* files. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 10 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 template<int I, int T> 679 template<int I, int T>
680 LInstruction* LChunkBuilder::Define(LTemplateInstruction<1, I, T>* instr, 680 LInstruction* LChunkBuilder::Define(LTemplateInstruction<1, I, T>* instr,
681 LUnallocated* result) { 681 LUnallocated* result) {
682 allocator_->RecordDefinition(current_instruction_, result); 682 allocator_->RecordDefinition(current_instruction_, result);
683 instr->set_result(result); 683 instr->set_result(result);
684 return instr; 684 return instr;
685 } 685 }
686 686
687 687
688 template<int I, int T> 688 template<int I, int T>
689 LInstruction* LChunkBuilder::Define(LTemplateInstruction<1, I, T>* instr) {
690 return Define(instr, new LUnallocated(LUnallocated::NONE));
691 }
692
693
694 template<int I, int T>
695 LInstruction* LChunkBuilder::DefineAsRegister( 689 LInstruction* LChunkBuilder::DefineAsRegister(
696 LTemplateInstruction<1, I, T>* instr) { 690 LTemplateInstruction<1, I, T>* instr) {
697 return Define(instr, new LUnallocated(LUnallocated::MUST_HAVE_REGISTER)); 691 return Define(instr, new LUnallocated(LUnallocated::MUST_HAVE_REGISTER));
698 } 692 }
699 693
700 694
701 template<int I, int T> 695 template<int I, int T>
702 LInstruction* LChunkBuilder::DefineAsSpilled( 696 LInstruction* LChunkBuilder::DefineAsSpilled(
703 LTemplateInstruction<1, I, T>* instr, int index) { 697 LTemplateInstruction<1, I, T>* instr, int index) {
704 return Define(instr, new LUnallocated(LUnallocated::FIXED_SLOT, index)); 698 return Define(instr, new LUnallocated(LUnallocated::FIXED_SLOT, index));
(...skipping 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
2263 2257
2264 LInstruction* LChunkBuilder::DoIn(HIn* instr) { 2258 LInstruction* LChunkBuilder::DoIn(HIn* instr) {
2265 LOperand* key = UseRegisterAtStart(instr->key()); 2259 LOperand* key = UseRegisterAtStart(instr->key());
2266 LOperand* object = UseRegisterAtStart(instr->object()); 2260 LOperand* object = UseRegisterAtStart(instr->object());
2267 LIn* result = new LIn(key, object); 2261 LIn* result = new LIn(key, object);
2268 return MarkAsCall(DefineFixed(result, r0), instr); 2262 return MarkAsCall(DefineFixed(result, r0), instr);
2269 } 2263 }
2270 2264
2271 2265
2272 } } // namespace v8::internal 2266 } } // 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