diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-03-22 08:28:00 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-03-22 08:28:00 +0000 |
commit | 7a743e15e31701db08f2092538ed2d5dfabe0cdb (patch) | |
tree | 608a8cc62fcefefa4e351a15129220b21be28948 /llvm/lib/VMCore/Verifier.cpp | |
parent | a6eedc3c032e9dd7754b109ebc09b9626d8e86ef (diff) | |
download | bcm5719-llvm-7a743e15e31701db08f2092538ed2d5dfabe0cdb.tar.gz bcm5719-llvm-7a743e15e31701db08f2092538ed2d5dfabe0cdb.zip |
Now that hopefully all direct accesses to InvokeInst operands are fixed
we can reapply the InvokeInst operand reordering patch. (see r98957).
llvm-svn: 99170
Diffstat (limited to 'llvm/lib/VMCore/Verifier.cpp')
-rw-r--r-- | llvm/lib/VMCore/Verifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp index f1413825697..6c01290ad2e 100644 --- a/llvm/lib/VMCore/Verifier.cpp +++ b/llvm/lib/VMCore/Verifier.cpp @@ -1483,7 +1483,7 @@ void Verifier::visitInstruction(Instruction &I) { "Instruction does not dominate all uses!", Op, &I); } } else if (isa<InlineAsm>(I.getOperand(i))) { - Assert1(i == 0 && (isa<CallInst>(I) || isa<InvokeInst>(I)), + Assert1((i == 0 && isa<CallInst>(I)) || (i + 3 == e && isa<InvokeInst>(I)), "Cannot take the address of an inline asm!", &I); } } |