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

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

Issue 12301027: Fixed numeric relations on HPhi instances. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed review comments. Created 7 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 | « no previous file | src/hydrogen-instructions.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 1672 matching lines...) Expand 10 before | Expand all | Expand 10 after
1683 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); 1683 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value);
1684 return DefineAsRegister(result); 1684 return DefineAsRegister(result);
1685 } 1685 }
1686 1686
1687 1687
1688 LInstruction* LChunkBuilder::DoNumericConstraint(HNumericConstraint* instr) { 1688 LInstruction* LChunkBuilder::DoNumericConstraint(HNumericConstraint* instr) {
1689 return NULL; 1689 return NULL;
1690 } 1690 }
1691 1691
1692 1692
1693 LInstruction* LChunkBuilder::DoInductionVariableAnnotation(
1694 HInductionVariableAnnotation* instr) {
1695 return NULL;
1696 }
1697
1698
1693 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { 1699 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) {
1694 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); 1700 LOperand* value = UseRegisterOrConstantAtStart(instr->index());
1695 LOperand* length = UseRegister(instr->length()); 1701 LOperand* length = UseRegister(instr->length());
1696 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); 1702 return AssignEnvironment(new(zone()) LBoundsCheck(value, length));
1697 } 1703 }
1698 1704
1699 1705
1700 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { 1706 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) {
1701 // The control instruction marking the end of a block that completed 1707 // The control instruction marking the end of a block that completed
1702 // abruptly (e.g., threw an exception). There is nothing specific to do. 1708 // abruptly (e.g., threw an exception). There is nothing specific to do.
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
2449 2455
2450 2456
2451 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2457 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2452 LOperand* object = UseRegister(instr->object()); 2458 LOperand* object = UseRegister(instr->object());
2453 LOperand* index = UseRegister(instr->index()); 2459 LOperand* index = UseRegister(instr->index());
2454 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2460 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2455 } 2461 }
2456 2462
2457 2463
2458 } } // namespace v8::internal 2464 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen-instructions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698