summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-11 21:24:15 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-11 21:24:15 +0000
commit58a98141d9fd1abb7a441a4ab2a7417cb0ded3c7 (patch)
treee3473b4b2fec0db17ab5156c65a7a743e580753c /llvm/lib/Target/PowerPC
parentcf8a603a1bede1a985c28a95423d34e3ba250cd2 (diff)
downloadbcm5719-llvm-58a98141d9fd1abb7a441a4ab2a7417cb0ded3c7.tar.gz
bcm5719-llvm-58a98141d9fd1abb7a441a4ab2a7417cb0ded3c7.zip
Most MCCodeEmitter's don't meed MCContext.
llvm-svn: 134922
Diffstat (limited to 'llvm/lib/Target/PowerPC')
-rw-r--r--llvm/lib/Target/PowerPC/PPCMCCodeEmitter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCMCCodeEmitter.cpp b/llvm/lib/Target/PowerPC/PPCMCCodeEmitter.cpp
index 250d5455918..cf73d861fa4 100644
--- a/llvm/lib/Target/PowerPC/PPCMCCodeEmitter.cpp
+++ b/llvm/lib/Target/PowerPC/PPCMCCodeEmitter.cpp
@@ -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() {}
OpenPOWER on IntegriCloud