rewrite EmitConvertToMCInst to iterate over the MCInst operands,
authorChris Lattner <sabre@nondot.org>
Tue, 2 Nov 2010 22:55:03 +0000 (22:55 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 2 Nov 2010 22:55:03 +0000 (22:55 +0000)
commit9b0d4bfca0f23d39f5f2aef6b6740267a26ee17c
tree059d57aaa57398c35c7881ddcd2465bbf87c033b
parent0800ce71896ccd7f49b37861a8cfbc21b6b10022
rewrite EmitConvertToMCInst to iterate over the MCInst operands,
filling them in one at a time.  Previously this iterated over the
asmoperands, which left the problem of "holes".  The new approach
simplifies things.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118104 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/AsmMatcherEmitter.cpp
utils/TableGen/CodeGenInstruction.h