mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Delete an unused variable and simplify the code.
llvm-svn: 61732
This commit is contained in:
parent
beb5774035
commit
7934babf16
@ -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