| OLD | NEW |
| 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 Loading... |
| 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 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2109 void LPointerMap::PrintTo(StringStream* stream) const { | 2104 void LPointerMap::PrintTo(StringStream* stream) const { |
| 2110 stream->Add("{"); | 2105 stream->Add("{"); |
| 2111 for (int i = 0; i < pointer_operands_.length(); ++i) { | 2106 for (int i = 0; i < pointer_operands_.length(); ++i) { |
| 2112 if (i != 0) stream->Add(";"); | 2107 if (i != 0) stream->Add(";"); |
| 2113 pointer_operands_[i]->PrintTo(stream); | 2108 pointer_operands_[i]->PrintTo(stream); |
| 2114 } | 2109 } |
| 2115 stream->Add("} @%d", position()); | 2110 stream->Add("} @%d", position()); |
| 2116 } | 2111 } |
| 2117 | 2112 |
| 2118 } } // namespace v8::internal | 2113 } } // namespace v8::internal |
| OLD | NEW |