1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

Most MCCodeEmitter's don't meed MCContext.

llvm-svn: 134922
This commit is contained in:
Evan Cheng 2011-07-11 21:24:15 +00:00
parent e224004004
commit b25cb9755b
3 changed files with 3 additions and 7 deletions

View File

@ -40,12 +40,11 @@ class ARMMCCodeEmitter : public MCCodeEmitter {
void operator=(const ARMMCCodeEmitter &); // DO NOT IMPLEMENT
const MCInstrInfo &MCII;
const MCSubtargetInfo &STI;
MCContext &Ctx;
public:
ARMMCCodeEmitter(const MCInstrInfo &mcii, const MCSubtargetInfo &sti,
MCContext &ctx)
: MCII(mcii), STI(sti), Ctx(ctx) {
: MCII(mcii), STI(sti) {
}
~ARMMCCodeEmitter() {}

View File

@ -30,12 +30,11 @@ class MBlazeMCCodeEmitter : public MCCodeEmitter {
MBlazeMCCodeEmitter(const MBlazeMCCodeEmitter &); // DO NOT IMPLEMENT
void operator=(const MBlazeMCCodeEmitter &); // DO NOT IMPLEMENT
const MCInstrInfo &MCII;
MCContext &Ctx;
public:
MBlazeMCCodeEmitter(const MCInstrInfo &mcii, const MCSubtargetInfo &sti,
MCContext &ctx)
: MCII(mcii), Ctx(ctx) {
: MCII(mcii) {
}
~MBlazeMCCodeEmitter() {}

View File

@ -28,12 +28,10 @@ namespace {
class PPCMCCodeEmitter : public MCCodeEmitter {
PPCMCCodeEmitter(const PPCMCCodeEmitter &); // DO NOT IMPLEMENT
void operator=(const PPCMCCodeEmitter &); // DO NOT IMPLEMENT
MCContext &Ctx;
public:
PPCMCCodeEmitter(const MCInstrInfo &mcii, const MCSubtargetInfo &sti,
MCContext &ctx)
: Ctx(ctx) {
MCContext &ctx) {
}
~PPCMCCodeEmitter() {}