aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCAsmBackend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PowerPC/PPCAsmBackend.cpp')
-rw-r--r--lib/Target/PowerPC/PPCAsmBackend.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCAsmBackend.cpp b/lib/Target/PowerPC/PPCAsmBackend.cpp
index 6a6177063f..8790a69793 100644
--- a/lib/Target/PowerPC/PPCAsmBackend.cpp
+++ b/lib/Target/PowerPC/PPCAsmBackend.cpp
@@ -19,8 +19,9 @@ using namespace llvm;
namespace {
class PPCAsmBackend : public TargetAsmBackend {
+ const Target &TheTarget;
public:
- PPCAsmBackend(const Target &T) : TargetAsmBackend(T) {}
+ PPCAsmBackend(const Target &T) : TargetAsmBackend(), TheTarget(T) {}
bool MayNeedRelaxation(const MCInst &Inst) const {
// FIXME.