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

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

Issue 14895019: Fix code gen bug on arm and mips; SeqStringSetChar overwrites a register; Add better default PrintD… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Turn late dead code elimination back on. Created 7 years, 7 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 | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')
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 1804 matching lines...) Expand 10 before | Expand all | Expand 10 after
1815 LOperand* object = UseFixed(instr->value(), r0); 1815 LOperand* object = UseFixed(instr->value(), r0);
1816 LDateField* result = 1816 LDateField* result =
1817 new(zone()) LDateField(object, FixedTemp(r1), instr->index()); 1817 new(zone()) LDateField(object, FixedTemp(r1), instr->index());
1818 return MarkAsCall(DefineFixed(result, r0), instr, CAN_DEOPTIMIZE_EAGERLY); 1818 return MarkAsCall(DefineFixed(result, r0), instr, CAN_DEOPTIMIZE_EAGERLY);
1819 } 1819 }
1820 1820
1821 1821
1822 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { 1822 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) {
1823 LOperand* string = UseRegister(instr->string()); 1823 LOperand* string = UseRegister(instr->string());
1824 LOperand* index = UseRegister(instr->index()); 1824 LOperand* index = UseRegister(instr->index());
1825 LOperand* value = UseRegister(instr->value()); 1825 LOperand* value = UseTempRegister(instr->value());
1826 LSeqStringSetChar* result = 1826 LSeqStringSetChar* result =
1827 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); 1827 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value);
1828 return DefineAsRegister(result); 1828 return DefineAsRegister(result);
1829 } 1829 }
1830 1830
1831 1831
1832 LInstruction* LChunkBuilder::DoNumericConstraint(HNumericConstraint* instr) { 1832 LInstruction* LChunkBuilder::DoNumericConstraint(HNumericConstraint* instr) {
1833 return NULL; 1833 return NULL;
1834 } 1834 }
1835 1835
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
2604 2604
2605 2605
2606 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2606 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2607 LOperand* object = UseRegister(instr->object()); 2607 LOperand* object = UseRegister(instr->object());
2608 LOperand* index = UseRegister(instr->index()); 2608 LOperand* index = UseRegister(instr->index());
2609 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2609 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2610 } 2610 }
2611 2611
2612 2612
2613 } } // namespace v8::internal 2613 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698