diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-14 22:29:57 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-14 22:29:57 +0000 |
| commit | 14bf52179226553e0ca4023a7b9131b0481d690c (patch) | |
| tree | fd771b9bee7dd8059b8271585065e08d927013c6 /llvm/tools/llvm-mc/AsmParser.cpp | |
| parent | f29c0b6880c217b65a6a1df18a54e308719e48b3 (diff) | |
| download | bcm5719-llvm-14bf52179226553e0ca4023a7b9131b0481d690c.tar.gz bcm5719-llvm-14bf52179226553e0ca4023a7b9131b0481d690c.zip | |
add virtual methods to get the start/end of a MCParsedAsmOperand,
the default implementation returns "unknown".
llvm-svn: 93470
Diffstat (limited to 'llvm/tools/llvm-mc/AsmParser.cpp')
| -rw-r--r-- | llvm/tools/llvm-mc/AsmParser.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/tools/llvm-mc/AsmParser.cpp b/llvm/tools/llvm-mc/AsmParser.cpp index bd0e0e259dc..2eb75a76dd2 100644 --- a/llvm/tools/llvm-mc/AsmParser.cpp +++ b/llvm/tools/llvm-mc/AsmParser.cpp @@ -29,6 +29,11 @@ #include "llvm/Target/TargetAsmParser.h" using namespace llvm; +/// getStartLoc - Get the location of the first token of this operand. +SMLoc MCParsedAsmOperand::getStartLoc() const { return SMLoc(); } +SMLoc MCParsedAsmOperand::getEndLoc() const { return SMLoc(); } + + // Mach-O section uniquing. // // FIXME: Figure out where this should live, it should be shared by |

