mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Most MCCodeEmitter's don't meed MCContext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134922 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5e3cb47bea
commit
af0a2e6730
@ -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() {}
|
||||
|
@ -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() {}
|
||||
|
@ -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() {}
|
||||
|
Loading…
Reference in New Issue
Block a user