2009-07-20 20:55:04 +02:00
|
|
|
//===-- MCAsmParser.cpp - Abstract Asm Parser Interface -------------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/MC/MCAsmParser.h"
|
2010-01-15 20:28:38 +01:00
|
|
|
#include "llvm/MC/MCParsedAsmOperand.h"
|
|
|
|
#include "llvm/Support/SourceMgr.h"
|
2009-07-20 20:55:04 +02:00
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
MCAsmParser::MCAsmParser() {
|
|
|
|
}
|
|
|
|
|
|
|
|
MCAsmParser::~MCAsmParser() {
|
|
|
|
}
|
2010-01-15 20:28:38 +01:00
|
|
|
|
|
|
|
bool MCAsmParser::ParseExpression(const MCExpr *&Res) {
|
|
|
|
SMLoc L;
|
2010-01-15 20:51:05 +01:00
|
|
|
return ParseExpression(Res, L);
|
2010-01-15 20:28:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// getStartLoc - Get the location of the first token of this operand.
|
|
|
|
SMLoc MCParsedAsmOperand::getStartLoc() const { return SMLoc(); }
|
|
|
|
SMLoc MCParsedAsmOperand::getEndLoc() const { return SMLoc(); }
|
|
|
|
|
|
|
|
|