add virtual methods to get the start/end of a MCParsedAsmOperand,

the default implementation returns "unknown".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93470 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-01-14 22:29:57 +00:00
parent 9898671a74
commit 9d3c755fd6
2 changed files with 10 additions and 1 deletions

View File

@@ -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