diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-14 21:32:45 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-14 21:32:45 +0000 |
| commit | 77fd677111582b8a0fc4b78ad5290b7c2ef414c3 (patch) | |
| tree | 2c34bc3de43b0332737b67a595843828dad79194 /llvm/tools/llvm-mc/AsmParser.cpp | |
| parent | 0868567fc30c8ea3dd52995f7461d1d8cfa398a9 (diff) | |
| download | bcm5719-llvm-77fd677111582b8a0fc4b78ad5290b7c2ef414c3.tar.gz bcm5719-llvm-77fd677111582b8a0fc4b78ad5290b7c2ef414c3.zip | |
prune #includes in TargetAsmParser.h
Pass in SMLoc of instr opcode into ParseInstruction.
Make AsmToken be a class, not a struct.
llvm-svn: 93457
Diffstat (limited to 'llvm/tools/llvm-mc/AsmParser.cpp')
| -rw-r--r-- | llvm/tools/llvm-mc/AsmParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mc/AsmParser.cpp b/llvm/tools/llvm-mc/AsmParser.cpp index 1204a0054af..4ef3a7fc355 100644 --- a/llvm/tools/llvm-mc/AsmParser.cpp +++ b/llvm/tools/llvm-mc/AsmParser.cpp @@ -711,7 +711,7 @@ bool AsmParser::ParseStatement() { } MCInst Inst; - if (getTargetParser().ParseInstruction(IDVal, Inst)) + if (getTargetParser().ParseInstruction(IDVal, IDLoc, Inst)) return true; if (Lexer.isNot(AsmToken::EndOfStatement)) |

