summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mc/AsmParser.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-30 23:38:38 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-30 23:38:38 +0000
commitd0a08e0430a8e233b690c2c9e152c130fd8da3ba (patch)
treef575cd954d5efff8c2be835c994f83011979dfc0 /llvm/tools/llvm-mc/AsmParser.cpp
parentd6ea0300e48305f635ee168e7a02c50a560dfdf4 (diff)
downloadbcm5719-llvm-d0a08e0430a8e233b690c2c9e152c130fd8da3ba.tar.gz
bcm5719-llvm-d0a08e0430a8e233b690c2c9e152c130fd8da3ba.zip
llvm-mc: Introduce method to match a parsed x86 instruction into an MCInst.
llvm-svn: 74573
Diffstat (limited to 'llvm/tools/llvm-mc/AsmParser.cpp')
-rw-r--r--llvm/tools/llvm-mc/AsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mc/AsmParser.cpp b/llvm/tools/llvm-mc/AsmParser.cpp
index 4c6c4cc6303..744e1f6e64c 100644
--- a/llvm/tools/llvm-mc/AsmParser.cpp
+++ b/llvm/tools/llvm-mc/AsmParser.cpp
@@ -506,7 +506,7 @@ bool AsmParser::ParseStatement() {
}
MCInst Inst;
- if (ParseX86InstOperands(Inst))
+ if (ParseX86InstOperands(IDVal, Inst))
return true;
if (Lexer.isNot(asmtok::EndOfStatement))
OpenPOWER on IntegriCloud