mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 02:42:58 +00:00
Another place where the code wanted to access the argument list and not all of
the operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105545 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1f23d63ddf
commit
d942df2f9e
@ -1628,8 +1628,8 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) {
|
||||
|
||||
// If the intrinsic takes MDNode arguments, verify that they are either global
|
||||
// or are local to *this* function.
|
||||
for (unsigned i = 1, e = CI.getNumOperands(); i != e; ++i)
|
||||
if (MDNode *MD = dyn_cast<MDNode>(CI.getOperand(i)))
|
||||
for (unsigned i = 0, e = CI.getNumArgOperands(); i != e; ++i)
|
||||
if (MDNode *MD = dyn_cast<MDNode>(CI.getArgOperand(i)))
|
||||
visitMDNode(*MD, CI.getParent()->getParent());
|
||||
|
||||
switch (ID) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user