commit | 9898671a74d3fc924347e679c45edaa685b3fe6e | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Jan 14 22:21:20 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Jan 14 22:21:20 2010 +0000 |
tree | 76d99c3c2c48dca2e8c078c6bb32a062c28536fe | |
parent | 74a265686dd3e816c0f580c77d07fbb9e8bf3ddd [diff] |
Split the TargetAsmParser "ParseInstruction" interface in half: the new ParseInstruction method just parses and returns a list of target operands. A new MatchInstruction interface is used to turn the operand list into an MCInst. This requires new/deleting all the operands, but it also gives targets the ability to use polymorphic operands if they want to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93469 91177308-0d34-0410-b5e6-96231b3b80d8