diff options
author | Sean Silva <chisophugis@gmail.com> | 2015-02-05 00:58:51 +0000 |
---|---|---|
committer | Sean Silva <chisophugis@gmail.com> | 2015-02-05 00:58:51 +0000 |
commit | 0e1fe184c8abcd4193ea678497978731f8289db0 (patch) | |
tree | 95136917c76eda60d6e04ef970921792f3e83f51 /llvm/lib/MC/MCInst.cpp | |
parent | 16f9a6b43dff53f8a0fe87a9ab1309b8474f3dd2 (diff) | |
download | bcm5719-llvm-0e1fe184c8abcd4193ea678497978731f8289db0.tar.gz bcm5719-llvm-0e1fe184c8abcd4193ea678497978731f8289db0.zip |
[MC] Remove various unused MCAsmInfo parameters.
llvm-svn: 228244
Diffstat (limited to 'llvm/lib/MC/MCInst.cpp')
-rw-r--r-- | llvm/lib/MC/MCInst.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/llvm/lib/MC/MCInst.cpp b/llvm/lib/MC/MCInst.cpp index d7b80f58905..521b57fa239 100644 --- a/llvm/lib/MC/MCInst.cpp +++ b/llvm/lib/MC/MCInst.cpp @@ -15,7 +15,7 @@ using namespace llvm; -void MCOperand::print(raw_ostream &OS, const MCAsmInfo *MAI) const { +void MCOperand::print(raw_ostream &OS) const { OS << "<MCOperand "; if (!isValid()) OS << "INVALID"; @@ -39,17 +39,16 @@ void MCOperand::dump() const { } #endif -void MCInst::print(raw_ostream &OS, const MCAsmInfo *MAI) const { +void MCInst::print(raw_ostream &OS) const { OS << "<MCInst " << getOpcode(); for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { OS << " "; - getOperand(i).print(OS, MAI); + getOperand(i).print(OS); } OS << ">"; } -void MCInst::dump_pretty(raw_ostream &OS, const MCAsmInfo *MAI, - const MCInstPrinter *Printer, +void MCInst::dump_pretty(raw_ostream &OS, const MCInstPrinter *Printer, StringRef Separator) const { OS << "<MCInst #" << getOpcode(); @@ -59,7 +58,7 @@ void MCInst::dump_pretty(raw_ostream &OS, const MCAsmInfo *MAI, for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { OS << Separator; - getOperand(i).print(OS, MAI); + getOperand(i).print(OS); } OS << ">"; } |