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

Side by Side Diff: src/ia32/lithium-ia32.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/ia32/lithium-ia32.h ('k') | src/mips/lithium-codegen-mips.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 1723 matching lines...) Expand 10 before | Expand all | Expand 10 after
1734 1734
1735 1735
1736 LInstruction* LChunkBuilder::DoCompareObjectEqAndBranch( 1736 LInstruction* LChunkBuilder::DoCompareObjectEqAndBranch(
1737 HCompareObjectEqAndBranch* instr) { 1737 HCompareObjectEqAndBranch* instr) {
1738 LOperand* left = UseRegisterAtStart(instr->left()); 1738 LOperand* left = UseRegisterAtStart(instr->left());
1739 LOperand* right = UseOrConstantAtStart(instr->right()); 1739 LOperand* right = UseOrConstantAtStart(instr->right());
1740 return new(zone()) LCmpObjectEqAndBranch(left, right); 1740 return new(zone()) LCmpObjectEqAndBranch(left, right);
1741 } 1741 }
1742 1742
1743 1743
1744 LInstruction* LChunkBuilder::DoCompareConstantEqAndBranch(
1745 HCompareConstantEqAndBranch* instr) {
1746 return new(zone()) LCmpConstantEqAndBranch(
1747 UseRegisterAtStart(instr->value()));
1748 }
1749
1750
1751 LInstruction* LChunkBuilder::DoIsObjectAndBranch(HIsObjectAndBranch* instr) { 1744 LInstruction* LChunkBuilder::DoIsObjectAndBranch(HIsObjectAndBranch* instr) {
1752 ASSERT(instr->value()->representation().IsSmiOrTagged()); 1745 ASSERT(instr->value()->representation().IsSmiOrTagged());
1753 LOperand* temp = TempRegister(); 1746 LOperand* temp = TempRegister();
1754 return new(zone()) LIsObjectAndBranch(UseRegister(instr->value()), temp); 1747 return new(zone()) LIsObjectAndBranch(UseRegister(instr->value()), temp);
1755 } 1748 }
1756 1749
1757 1750
1758 LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) { 1751 LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) {
1759 ASSERT(instr->value()->representation().IsTagged()); 1752 ASSERT(instr->value()->representation().IsTagged());
1760 LOperand* temp = TempRegister(); 1753 LOperand* temp = TempRegister();
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
2771 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2764 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2772 LOperand* object = UseRegister(instr->object()); 2765 LOperand* object = UseRegister(instr->object());
2773 LOperand* index = UseTempRegister(instr->index()); 2766 LOperand* index = UseTempRegister(instr->index());
2774 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2767 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2775 } 2768 }
2776 2769
2777 2770
2778 } } // namespace v8::internal 2771 } } // namespace v8::internal
2779 2772
2780 #endif // V8_TARGET_ARCH_IA32 2773 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698