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

Side by Side Diff: src/mips/lithium-mips.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 | « src/ia32/lithium-ia32.cc ('k') | src/x64/lithium-x64.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 1577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1588 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); 1588 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value);
1589 return DefineAsRegister(result); 1589 return DefineAsRegister(result);
1590 } 1590 }
1591 1591
1592 1592
1593 LInstruction* LChunkBuilder::DoNumericConstraint(HNumericConstraint* instr) { 1593 LInstruction* LChunkBuilder::DoNumericConstraint(HNumericConstraint* instr) {
1594 return NULL; 1594 return NULL;
1595 } 1595 }
1596 1596
1597 1597
1598 LInstruction* LChunkBuilder::DoInductionVariableAnnotation(
1599 HInductionVariableAnnotation* instr) {
1600 return NULL;
1601 }
1602
1603
1598 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { 1604 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) {
1599 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); 1605 LOperand* value = UseRegisterOrConstantAtStart(instr->index());
1600 LOperand* length = UseRegister(instr->length()); 1606 LOperand* length = UseRegister(instr->length());
1601 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); 1607 return AssignEnvironment(new(zone()) LBoundsCheck(value, length));
1602 } 1608 }
1603 1609
1604 1610
1605 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { 1611 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) {
1606 // The control instruction marking the end of a block that completed 1612 // The control instruction marking the end of a block that completed
1607 // abruptly (e.g., threw an exception). There is nothing specific to do. 1613 // abruptly (e.g., threw an exception). There is nothing specific to do.
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
2356 2362
2357 2363
2358 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2364 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2359 LOperand* object = UseRegister(instr->object()); 2365 LOperand* object = UseRegister(instr->object());
2360 LOperand* index = UseRegister(instr->index()); 2366 LOperand* index = UseRegister(instr->index());
2361 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2367 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2362 } 2368 }
2363 2369
2364 2370
2365 } } // namespace v8::internal 2371 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698