commit | 6a3d5a62f09d4093468525a07a0143cae0e9df41 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Thu May 25 00:24:28 2006 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Thu May 25 00:24:28 2006 +0000 |
tree | 3d50c50119cab8be8b37cbf49a6f1d99fdc0c69e | |
parent | b0793f9741f7219c764e23cb99d4bda018e4f56c [diff] [blame] |
Assert if InflightSet is not cleared after instruction selecting a BB. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28459 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/lib/Target/Sparc/SparcISelDAGToDAG.cpp index 19df27e..c5ad35a 100644 --- a/lib/Target/Sparc/SparcISelDAGToDAG.cpp +++ b/lib/Target/Sparc/SparcISelDAGToDAG.cpp
@@ -995,6 +995,7 @@ // Select target instructions for the DAG. DAG.setRoot(SelectRoot(DAG.getRoot())); + assert(InFlightSet.empty() && "ISel InFlightSet has not been emptied!"); CodeGenMap.clear(); HandleMap.clear(); ReplaceMap.clear();