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

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

Issue 12226112: Infrastructure classes for evaluating numeric relations between values. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed last 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.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 1667 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { 1678 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) {
1679 LOperand* string = UseRegister(instr->string()); 1679 LOperand* string = UseRegister(instr->string());
1680 LOperand* index = UseRegister(instr->index()); 1680 LOperand* index = UseRegister(instr->index());
1681 LOperand* value = UseRegister(instr->value()); 1681 LOperand* value = UseRegister(instr->value());
1682 LSeqStringSetChar* result = 1682 LSeqStringSetChar* result =
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) {
1689 return NULL;
1690 }
1691
1692
1688 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { 1693 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) {
1689 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); 1694 LOperand* value = UseRegisterOrConstantAtStart(instr->index());
1690 LOperand* length = UseRegister(instr->length()); 1695 LOperand* length = UseRegister(instr->length());
1691 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); 1696 return AssignEnvironment(new(zone()) LBoundsCheck(value, length));
1692 } 1697 }
1693 1698
1694 1699
1695 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { 1700 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) {
1696 // The control instruction marking the end of a block that completed 1701 // The control instruction marking the end of a block that completed
1697 // abruptly (e.g., threw an exception). There is nothing specific to do. 1702 // abruptly (e.g., threw an exception). There is nothing specific to do.
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
2444 2449
2445 2450
2446 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2451 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2447 LOperand* object = UseRegister(instr->object()); 2452 LOperand* object = UseRegister(instr->object());
2448 LOperand* index = UseRegister(instr->index()); 2453 LOperand* index = UseRegister(instr->index());
2449 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2454 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2450 } 2455 }
2451 2456
2452 2457
2453 } } // namespace v8::internal 2458 } } // 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