commit | a3aaf85e231e391850ae77af194d4aa457ba6aa3 | [log] [tgz] |
---|---|---|
author | Victor Hernandez <vhernandez@apple.com> | Sat Oct 17 01:18:07 2009 +0000 |
committer | Victor Hernandez <vhernandez@apple.com> | Sat Oct 17 01:18:07 2009 +0000 |
tree | 92b41932a45ae44868a6c6a1050f05ac9c96fa0a | |
parent | 8bcb1c68832c8897bf85b8346098bbb8099f3b94 [diff] [blame] |
Remove MallocInst from LLVM Instructions. llvm-svn: 84299
diff --git a/llvm/lib/Analysis/InlineCost.cpp b/llvm/lib/Analysis/InlineCost.cpp index 3b0d2c9..b833baa 100644 --- a/llvm/lib/Analysis/InlineCost.cpp +++ b/llvm/lib/Analysis/InlineCost.cpp
@@ -131,7 +131,7 @@ } // These, too, are calls. - if (isa<MallocInst>(II) || isa<FreeInst>(II)) + if (isa<FreeInst>(II)) NumInsts += InlineConstants::CallPenalty; if (const AllocaInst *AI = dyn_cast<AllocaInst>(II)) {