Use getNumOperands() instead of Operands.size().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 22 Dec 2012 17:13:06 +0000 (17:13 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 22 Dec 2012 17:13:06 +0000 (17:13 +0000)
commit021e3b6444e9179751002db7b20de96455e03171
treeaccc421e7ca2f6da1ab1c18fcc6dd7d954bcad6c
parent2f8a6cdfa3bc0bfa4532da89e574666c5251cdb5
Use getNumOperands() instead of Operands.size().

The representation of the Operands array is going to change soon so it
can be allocated from a BumpPtrAllocator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170988 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineInstr.cpp