mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
Replace some special-case code which probably was buggy with an assertion
verifying that the special case does not occur. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92504 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
537ab90d8d
commit
ba7a662f54
@ -1241,12 +1241,7 @@ public:
|
||||
;
|
||||
} else if (InputHasChain && !NodeHasChain) {
|
||||
// One of the inner node produces a chain.
|
||||
if (NodeHasOutFlag) {
|
||||
ReplaceFroms.push_back("SDValue(N.getNode(), " +
|
||||
utostr(NumPatResults+1) +
|
||||
")");
|
||||
ReplaceTos.push_back("SDValue(ResNode, N.getResNo()-1)");
|
||||
}
|
||||
assert(!NodeHasOutFlag && "Node has flag but not chain!");
|
||||
ReplaceFroms.push_back("SDValue(N.getNode(), " +
|
||||
utostr(NumPatResults) + ")");
|
||||
ReplaceTos.push_back(ChainName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user