llvm.org GIT mirror llvm / d04f39c
[Attributor][FIX] Remove assertion wrong for on invalid IRPositions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373972 91177308-0d34-0410-b5e6-96231b3b80d8 Johannes Doerfert 1 year, 1 month ago
1 changed file(s) with 0 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
397397
398398 assert(KindOrArgNo < 0 &&
399399 "Expected (call site) arguments to never reach this point!");
400 assert(!isa(getAnchorValue()) &&
401 "Expected arguments to have an associated argument position!");
402400 return Kind(KindOrArgNo);
403401 }
404402