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

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

Issue 7033008: Fix error in postfix ++ in Crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix typo, remove unneeded code. Created 9 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.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1636 return NULL; 1636 return NULL;
1637 } 1637 }
1638 1638
1639 1639
1640 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { 1640 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) {
1641 LOperand* value = UseFixed(instr->value(), r0); 1641 LOperand* value = UseFixed(instr->value(), r0);
1642 return MarkAsCall(new LThrow(value), instr); 1642 return MarkAsCall(new LThrow(value), instr);
1643 } 1643 }
1644 1644
1645 1645
1646 LInstruction* LChunkBuilder::DoForceRepresentation(HForceRepresentation* bad) {
1647 // All HForceRepresentation instructions should be eliminated in the
1648 // representation change phase of Hydrogen.
1649 UNREACHABLE();
1650 return NULL;
1651 }
1652
1653
1646 LInstruction* LChunkBuilder::DoChange(HChange* instr) { 1654 LInstruction* LChunkBuilder::DoChange(HChange* instr) {
1647 Representation from = instr->from(); 1655 Representation from = instr->from();
1648 Representation to = instr->to(); 1656 Representation to = instr->to();
1649 if (from.IsTagged()) { 1657 if (from.IsTagged()) {
1650 if (to.IsDouble()) { 1658 if (to.IsDouble()) {
1651 LOperand* value = UseRegister(instr->value()); 1659 LOperand* value = UseRegister(instr->value());
1652 LNumberUntagD* res = new LNumberUntagD(value); 1660 LNumberUntagD* res = new LNumberUntagD(value);
1653 return AssignEnvironment(DefineAsRegister(res)); 1661 return AssignEnvironment(DefineAsRegister(res));
1654 } else { 1662 } else {
1655 ASSERT(to.IsInteger32()); 1663 ASSERT(to.IsInteger32());
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
2198 2206
2199 LInstruction* LChunkBuilder::DoIn(HIn* instr) { 2207 LInstruction* LChunkBuilder::DoIn(HIn* instr) {
2200 LOperand* key = UseRegisterAtStart(instr->key()); 2208 LOperand* key = UseRegisterAtStart(instr->key());
2201 LOperand* object = UseRegisterAtStart(instr->object()); 2209 LOperand* object = UseRegisterAtStart(instr->object());
2202 LIn* result = new LIn(key, object); 2210 LIn* result = new LIn(key, object);
2203 return MarkAsCall(DefineFixed(result, r0), instr); 2211 return MarkAsCall(DefineFixed(result, r0), instr);
2204 } 2212 }
2205 2213
2206 2214
2207 } } // namespace v8::internal 2215 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698