[llvm-commits] CVS: llvm/lib/VMCore/BasicBlock.cpp
Misha Brukman
brukman at cs.uiuc.edu
Fri Apr 16 12:37:01 PDT 2004
Changes in directory llvm/lib/VMCore:
BasicBlock.cpp updated: 1.43 -> 1.44
---
Log message:
Fix retriving parent Function.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/VMCore/BasicBlock.cpp
diff -u llvm/lib/VMCore/BasicBlock.cpp:1.43 llvm/lib/VMCore/BasicBlock.cpp:1.44
--- llvm/lib/VMCore/BasicBlock.cpp:1.43 Fri Apr 16 10:47:21 2004
+++ llvm/lib/VMCore/BasicBlock.cpp Fri Apr 16 12:37:12 2004
@@ -81,7 +81,7 @@
BasicBlock::~BasicBlock() {
- assert(Parent == 0 && "BasicBlock still linked into the program!");
+ assert(getParent() == 0 && "BasicBlock still linked into the program!");
dropAllReferences();
InstList.clear();
}
More information about the llvm-commits
mailing list