1 //===- lib/MC/MCValue.cpp - MCValue implementation ------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "llvm/MC/MCValue.h"
11 #include "llvm/MC/MCExpr.h"
12 #include "llvm/Support/Debug.h"
13 #include "llvm/Support/raw_ostream.h"
17 void MCValue::print(raw_ostream
&OS
, const MCAsmInfo
*MAI
) const {
31 OS
<< " + " << getConstant();
34 void MCValue::dump() const {