aboutsummaryrefslogtreecommitdiff
path: root/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-09-23 20:57:55 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-09-23 20:57:55 +0000
commit39523e2cfb625d90aa122252b041e2311a9a8ca5 (patch)
treed7de84b5e9d0462b232ada5a7934af5182cb72a8 /unittests/Support/CommandLineTest.cpp
parent959b002c4d3ee11546d7f6c750339d58edc5338f (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions