mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
Delete an unused variable and simplify the code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61732 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e520273172
commit
1eb49a0a5e
@ -1183,16 +1183,13 @@ public:
|
||||
");");
|
||||
}
|
||||
|
||||
if (FoldedChains.size() > 0) {
|
||||
std::string Code;
|
||||
for (unsigned j = 0, e = FoldedChains.size(); j < e; j++) {
|
||||
ReplaceFroms.push_back("SDValue(" +
|
||||
FoldedChains[j].first + ".getNode(), " +
|
||||
utostr(FoldedChains[j].second) +
|
||||
")");
|
||||
ReplaceTos.push_back("SDValue(ResNode, " +
|
||||
utostr(NumResults+NumDstRegs) + ")");
|
||||
}
|
||||
for (unsigned j = 0, e = FoldedChains.size(); j < e; j++) {
|
||||
ReplaceFroms.push_back("SDValue(" +
|
||||
FoldedChains[j].first + ".getNode(), " +
|
||||
utostr(FoldedChains[j].second) +
|
||||
")");
|
||||
ReplaceTos.push_back("SDValue(ResNode, " +
|
||||
utostr(NumResults+NumDstRegs) + ")");
|
||||
}
|
||||
|
||||
if (NodeHasOutFlag) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user