diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-06-24 12:21:15 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-06-24 12:21:15 +0000 |
commit | 916973706d9b2559c7f88cef8b0f4e40a6450c06 (patch) | |
tree | b0612fb911b7d15f6f9b261812b38b6561428dbc /lib/Transforms/InstCombine/InstCombine.h | |
parent | 3ccbb22eaf3f0deebc15ff7be992f090a6f0ba0b (diff) | |
download | llvm-916973706d9b2559c7f88cef8b0f4e40a6450c06.tar.gz llvm-916973706d9b2559c7f88cef8b0f4e40a6450c06.tar.bz2 llvm-916973706d9b2559c7f88cef8b0f4e40a6450c06.tar.xz |
use ArgOperand API, also tighten the type of visitFree to make this work out smoothly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombine.h')
-rw-r--r-- | lib/Transforms/InstCombine/InstCombine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/InstCombine/InstCombine.h b/lib/Transforms/InstCombine/InstCombine.h index 5509b4f630..24e052881a 100644 --- a/lib/Transforms/InstCombine/InstCombine.h +++ b/lib/Transforms/InstCombine/InstCombine.h @@ -179,7 +179,7 @@ public: Instruction *visitGetElementPtrInst(GetElementPtrInst &GEP); Instruction *visitAllocaInst(AllocaInst &AI); Instruction *visitMalloc(Instruction &FI); - Instruction *visitFree(Instruction &FI); + Instruction *visitFree(CallInst &FI); Instruction *visitLoadInst(LoadInst &LI); Instruction *visitStoreInst(StoreInst &SI); Instruction *visitBranchInst(BranchInst &BI); |