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

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

Issue 23890030: Rollback trunk to 3.21.15. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 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/mips/lithium-codegen-mips.cc ('k') | src/mips/stub-cache-mips.cc » ('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 1765 matching lines...) Expand 10 before | Expand all | Expand 10 after
1776 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { 1776 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) {
1777 LOperand* object = UseFixed(instr->value(), a0); 1777 LOperand* object = UseFixed(instr->value(), a0);
1778 LDateField* result = 1778 LDateField* result =
1779 new(zone()) LDateField(object, FixedTemp(a1), instr->index()); 1779 new(zone()) LDateField(object, FixedTemp(a1), instr->index());
1780 return MarkAsCall(DefineFixed(result, v0), instr, CAN_DEOPTIMIZE_EAGERLY); 1780 return MarkAsCall(DefineFixed(result, v0), instr, CAN_DEOPTIMIZE_EAGERLY);
1781 } 1781 }
1782 1782
1783 1783
1784 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { 1784 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) {
1785 LOperand* string = UseRegister(instr->string()); 1785 LOperand* string = UseRegister(instr->string());
1786 LOperand* index = UseRegisterOrConstant(instr->index()); 1786 LOperand* index = UseRegister(instr->index());
1787 LOperand* value = UseRegister(instr->value()); 1787 LOperand* value = UseTempRegister(instr->value());
1788 return new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); 1788 LSeqStringSetChar* result =
1789 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value);
1790 return DefineAsRegister(result);
1789 } 1791 }
1790 1792
1791 1793
1792 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { 1794 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) {
1793 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); 1795 LOperand* value = UseRegisterOrConstantAtStart(instr->index());
1794 LOperand* length = UseRegister(instr->length()); 1796 LOperand* length = UseRegister(instr->length());
1795 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); 1797 return AssignEnvironment(new(zone()) LBoundsCheck(value, length));
1796 } 1798 }
1797 1799
1798 1800
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
2524 2526
2525 2527
2526 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2528 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2527 LOperand* object = UseRegister(instr->object()); 2529 LOperand* object = UseRegister(instr->object());
2528 LOperand* index = UseRegister(instr->index()); 2530 LOperand* index = UseRegister(instr->index());
2529 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2531 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2530 } 2532 }
2531 2533
2532 2534
2533 } } // namespace v8::internal 2535 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/stub-cache-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698