Fix a checking failure in gs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23235 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-09-03 01:04:40 +00:00
parent 25dae727f3
commit 6a8a21ced4

View File

@ -362,7 +362,7 @@ void SelectionDAG::RemoveNodeFromCSEMaps(SDNode *N) {
// not subject to CSE.
if (!Erased && N->getValueType(N->getNumValues()-1) != MVT::Flag &&
N->getOpcode() != ISD::CALL && N->getOpcode() != ISD::CALLSEQ_START &&
N->getOpcode() != ISD::CALLSEQ_END) {
N->getOpcode() != ISD::CALLSEQ_END && !N->isTargetOpcode()) {
N->dump();
assert(0 && "Node is not in map!");