commit | d9627e11bfd5e120e6430597bb72fe3c64341e2c | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Tue Jun 30 23:38:38 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Tue Jun 30 23:38:38 2009 +0000 |
tree | d3901649597e23039fc6264ae4624c1c0da76b69 | |
parent | e303503da3dd928b70ab371161e33b515e8dfc95 [diff] [blame] |
llvm-mc: Introduce method to match a parsed x86 instruction into an MCInst. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74573 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm-mc/AsmParser.cpp b/tools/llvm-mc/AsmParser.cpp index 4c6c4cc..744e1f6 100644 --- a/tools/llvm-mc/AsmParser.cpp +++ b/tools/llvm-mc/AsmParser.cpp
@@ -506,7 +506,7 @@ } MCInst Inst; - if (ParseX86InstOperands(Inst)) + if (ParseX86InstOperands(IDVal, Inst)) return true; if (Lexer.isNot(asmtok::EndOfStatement))