diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-29 15:12:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-29 15:12:27 +0000 |
commit | ab2b328c78cd59d663358c550d7b951b55059c3d (patch) | |
tree | 883f956a00eb2f8da773db822b049b7bfc5fc7ee /lib/Transforms/ExprTypeConvert.cpp | |
parent | ca398dc3989d35e8516489fd163e012133bd41cb (diff) |
Eliminate unnecessary ->get calls that are now automatically handled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6397 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ExprTypeConvert.cpp')
-rw-r--r-- | lib/Transforms/ExprTypeConvert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp index f8d5d1687f..b7936377e7 100644 --- a/lib/Transforms/ExprTypeConvert.cpp +++ b/lib/Transforms/ExprTypeConvert.cpp @@ -1257,7 +1257,7 @@ static void RecursiveDelete(ValueMapCache &Cache, Instruction *I) { for (User::op_iterator OI = I->op_begin(), OE = I->op_end(); OI != OE; ++OI) - if (Instruction *U = dyn_cast<Instruction>(OI->get())) { + if (Instruction *U = dyn_cast<Instruction>(OI)) { *OI = 0; RecursiveDelete(Cache, U); } |