diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2006-05-25 00:24:28 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2006-05-25 00:24:28 +0000 |
| commit | 4af59dac0bb45494f24fafb021c51f4389bf7fae (patch) | |
| tree | 49aa315975376f7c5df8766afb0952310fdef0f6 /llvm/lib/Target/Sparc | |
| parent | 07a4e5ceb10830f0187f2a19e08fa3489f47c078 (diff) | |
| download | bcm5719-llvm-4af59dac0bb45494f24fafb021c51f4389bf7fae.tar.gz bcm5719-llvm-4af59dac0bb45494f24fafb021c51f4389bf7fae.zip | |
Assert if InflightSet is not cleared after instruction selecting a BB.
llvm-svn: 28459
Diffstat (limited to 'llvm/lib/Target/Sparc')
| -rw-r--r-- | llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp index 19df27e27ad..c5ad35ac12b 100644 --- a/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp +++ b/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp @@ -995,6 +995,7 @@ void SparcDAGToDAGISel::InstructionSelectBasicBlock(SelectionDAG &DAG) { // 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(); |

