diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-09-23 20:57:55 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-09-23 20:57:55 +0000 |
commit | 75b9c2741dbe0634d2a1fcb5610d10001145cc98 (patch) | |
tree | b855fb3f2d7dff1e4b5db3e8231e6afb95726083 /llvm/lib/VMCore/Module.cpp | |
parent | abfdbbfd1a6974802c4a51e6ff0c9c31b50883e3 (diff) | |
download | bcm5719-llvm-75b9c2741dbe0634d2a1fcb5610d10001145cc98.tar.gz bcm5719-llvm-75b9c2741dbe0634d2a1fcb5610d10001145cc98.zip |
Fix verification of explicit operands.
The machine code verifier did not check for explicit operands correctly. It
used MachineInstr::getNumExplicitOperands, but that method may cheat and use
the declared count in the TargetInstrDesc.
Now we check the explicit operands one at a time in visitMachineOperand.
llvm-svn: 82652
Diffstat (limited to 'llvm/lib/VMCore/Module.cpp')
0 files changed, 0 insertions, 0 deletions