diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-25 20:41:34 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-25 20:41:34 +0000 |
commit | 6a020a71173a3ea7738a9df69982e85ddbfe0303 (patch) | |
tree | fb7b62a0e688224d0cc04d755bc382f190956b56 /lib/MC/MCDisassembler | |
parent | 61131ab15fd593a2e295d79fe2714e7bc21f2ec8 (diff) | |
download | external_llvm-6a020a71173a3ea7738a9df69982e85ddbfe0303.zip external_llvm-6a020a71173a3ea7738a9df69982e85ddbfe0303.tar.gz external_llvm-6a020a71173a3ea7738a9df69982e85ddbfe0303.tar.bz2 |
[ms-inline asm] Add support for creating AsmRewrites in the target specific
AsmParser logic. To be used/tested in a subsequent commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166714 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCDisassembler')
-rw-r--r-- | lib/MC/MCDisassembler/EDDisassembler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCDisassembler/EDDisassembler.cpp b/lib/MC/MCDisassembler/EDDisassembler.cpp index 1226f1a..eed7a77 100644 --- a/lib/MC/MCDisassembler/EDDisassembler.cpp +++ b/lib/MC/MCDisassembler/EDDisassembler.cpp @@ -366,8 +366,9 @@ int EDDisassembler::parseInst(SmallVectorImpl<MCParsedAsmOperand*> &operands, instName = OpcodeToken.getString(); instLoc = OpcodeToken.getLoc(); + ParseInstructionInfo Info; if (NextToken.isNot(AsmToken::Eof) && - TargetParser->ParseInstruction(instName, instLoc, operands)) + TargetParser->ParseInstruction(Info, instName, instLoc, operands)) ret = -1; } else { ret = -1; |