mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215868 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -967,7 +967,7 @@ Constant *llvm::ConstantFoldInstruction(Instruction *I,
|
||||
static Constant *
|
||||
ConstantFoldConstantExpressionImpl(const ConstantExpr *CE, const DataLayout *TD,
|
||||
const TargetLibraryInfo *TLI,
|
||||
SmallPtrSet<ConstantExpr *, 4> &FoldedOps) {
|
||||
SmallPtrSetImpl<ConstantExpr *> &FoldedOps) {
|
||||
SmallVector<Constant *, 8> Ops;
|
||||
for (User::const_op_iterator i = CE->op_begin(), e = CE->op_end(); i != e;
|
||||
++i) {
|
||||
|
||||
Reference in New Issue
Block a user