[llvm-commits] [poolalloc] r132794 - /poolalloc/trunk/lib/AssistDS/TypeChecksOpt.cpp
Arushi Aggarwal
aggarwa4 at illinois.edu
Thu Jun 9 12:33:18 PDT 2011
Author: aggarwa4
Date: Thu Jun 9 14:33:18 2011
New Revision: 132794
URL: http://llvm.org/viewvc/llvm-project?rev=132794&view=rev
Log:
Fix painful parantheses mismatch issue.
Modified:
poolalloc/trunk/lib/AssistDS/TypeChecksOpt.cpp
Modified: poolalloc/trunk/lib/AssistDS/TypeChecksOpt.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/AssistDS/TypeChecksOpt.cpp?rev=132794&r1=132793&r2=132794&view=diff
==============================================================================
--- poolalloc/trunk/lib/AssistDS/TypeChecksOpt.cpp (original)
+++ poolalloc/trunk/lib/AssistDS/TypeChecksOpt.cpp Thu Jun 9 14:33:18 2011
@@ -112,7 +112,7 @@
CallInst *CI = dyn_cast<CallInst>(User);
assert(CI);
- if(TS->isTypeSafe((CI->getOperand(1)->stripPointerCasts(), CI->getParent()->getParent()))) {
+ if(TS->isTypeSafe(CI->getOperand(1)->stripPointerCasts(), CI->getParent()->getParent())) {
toDelete.push_back(CI);
}
}
More information about the llvm-commits
mailing list