[llvm-commits] [llvm] r49654 - /llvm/branches/ggreif/use-diet/include/llvm/User.h
Gabor Greif
ggreif at gmail.com
Mon Apr 14 10:22:34 PDT 2008
Author: ggreif
Date: Mon Apr 14 12:22:34 2008
New Revision: 49654
URL: http://llvm.org/viewvc/llvm-project?rev=49654&view=rev
Log:
actually delete memory
Modified:
llvm/branches/ggreif/use-diet/include/llvm/User.h
Modified: llvm/branches/ggreif/use-diet/include/llvm/User.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/use-diet/include/llvm/User.h?rev=49654&r1=49653&r2=49654&view=diff
==============================================================================
--- llvm/branches/ggreif/use-diet/include/llvm/User.h (original)
+++ llvm/branches/ggreif/use-diet/include/llvm/User.h Mon Apr 14 12:22:34 2008
@@ -258,7 +258,7 @@
}
inline Use *allocHangoffUses(unsigned) const;
void dropHungoffUses(Use *U) {
- Use::zap(U, U->getImpliedUser());
+ Use::zap(U, U->getImpliedUser(), true);
}
Value *getOperand(unsigned i) const {
More information about the llvm-commits
mailing list