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

Side by Side Diff: src/ia32/lithium-ia32.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/ia32/lithium-ia32.h ('k') | src/mips/lithium-mips.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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 template<int I, int T> 678 template<int I, int T>
679 LInstruction* LChunkBuilder::Define(LTemplateInstruction<1, I, T>* instr, 679 LInstruction* LChunkBuilder::Define(LTemplateInstruction<1, I, T>* instr,
680 LUnallocated* result) { 680 LUnallocated* result) {
681 allocator_->RecordDefinition(current_instruction_, result); 681 allocator_->RecordDefinition(current_instruction_, result);
682 instr->set_result(result); 682 instr->set_result(result);
683 return instr; 683 return instr;
684 } 684 }
685 685
686 686
687 template<int I, int T> 687 template<int I, int T>
688 LInstruction* LChunkBuilder::Define(LTemplateInstruction<1, I, T>* instr) {
689 return Define(instr, new(zone()) LUnallocated(LUnallocated::NONE));
690 }
691
692
693 template<int I, int T>
694 LInstruction* LChunkBuilder::DefineAsRegister( 688 LInstruction* LChunkBuilder::DefineAsRegister(
695 LTemplateInstruction<1, I, T>* instr) { 689 LTemplateInstruction<1, I, T>* instr) {
696 return Define(instr, 690 return Define(instr,
697 new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER)); 691 new(zone()) 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, 697 LTemplateInstruction<1, I, T>* instr,
(...skipping 1698 matching lines...) Expand 10 before | Expand all | Expand 10 after
2402 LOperand* key = UseOrConstantAtStart(instr->key()); 2396 LOperand* key = UseOrConstantAtStart(instr->key());
2403 LOperand* object = UseOrConstantAtStart(instr->object()); 2397 LOperand* object = UseOrConstantAtStart(instr->object());
2404 LIn* result = new(zone()) LIn(context, key, object); 2398 LIn* result = new(zone()) LIn(context, key, object);
2405 return MarkAsCall(DefineFixed(result, eax), instr); 2399 return MarkAsCall(DefineFixed(result, eax), instr);
2406 } 2400 }
2407 2401
2408 2402
2409 } } // namespace v8::internal 2403 } } // namespace v8::internal
2410 2404
2411 #endif // V8_TARGET_ARCH_IA32 2405 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/mips/lithium-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698