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

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

Issue 19691005: Remove HCompareConstantEqAndBranch (never used), and its corresponding Lithium instructions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.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 1713 matching lines...) Expand 10 before | Expand all | Expand 10 after
1724 1724
1725 1725
1726 LInstruction* LChunkBuilder::DoCompareObjectEqAndBranch( 1726 LInstruction* LChunkBuilder::DoCompareObjectEqAndBranch(
1727 HCompareObjectEqAndBranch* instr) { 1727 HCompareObjectEqAndBranch* instr) {
1728 LOperand* left = UseRegisterAtStart(instr->left()); 1728 LOperand* left = UseRegisterAtStart(instr->left());
1729 LOperand* right = UseRegisterAtStart(instr->right()); 1729 LOperand* right = UseRegisterAtStart(instr->right());
1730 return new(zone()) LCmpObjectEqAndBranch(left, right); 1730 return new(zone()) LCmpObjectEqAndBranch(left, right);
1731 } 1731 }
1732 1732
1733 1733
1734 LInstruction* LChunkBuilder::DoCompareConstantEqAndBranch(
1735 HCompareConstantEqAndBranch* instr) {
1736 LOperand* value = UseRegisterAtStart(instr->value());
1737 return new(zone()) LCmpConstantEqAndBranch(value);
1738 }
1739
1740
1741 LInstruction* LChunkBuilder::DoIsObjectAndBranch(HIsObjectAndBranch* instr) { 1734 LInstruction* LChunkBuilder::DoIsObjectAndBranch(HIsObjectAndBranch* instr) {
1742 ASSERT(instr->value()->representation().IsTagged()); 1735 ASSERT(instr->value()->representation().IsTagged());
1743 LOperand* value = UseRegisterAtStart(instr->value()); 1736 LOperand* value = UseRegisterAtStart(instr->value());
1744 LOperand* temp = TempRegister(); 1737 LOperand* temp = TempRegister();
1745 return new(zone()) LIsObjectAndBranch(value, temp); 1738 return new(zone()) LIsObjectAndBranch(value, temp);
1746 } 1739 }
1747 1740
1748 1741
1749 LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) { 1742 LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) {
1750 ASSERT(instr->value()->representation().IsTagged()); 1743 ASSERT(instr->value()->representation().IsTagged());
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
2647 2640
2648 2641
2649 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2642 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2650 LOperand* object = UseRegister(instr->object()); 2643 LOperand* object = UseRegister(instr->object());
2651 LOperand* index = UseRegister(instr->index()); 2644 LOperand* index = UseRegister(instr->index());
2652 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2645 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2653 } 2646 }
2654 2647
2655 2648
2656 } } // namespace v8::internal 2649 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698