diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-06-01 20:58:36 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-06-01 20:58:36 +0000 | 
| commit | f382538d471e38a9b98f016c4caebd24c8d60b62 (patch) | |
| tree | d30f3d58b1044b5355d50c17a6a96c6a0b35703a /lib/Target/SystemZ/SystemZTargetMachine.cpp | |
| parent | ee2f195dd3e40f49698ca4dc2666ec09c770e80d (diff) | |
Notes
Diffstat (limited to 'lib/Target/SystemZ/SystemZTargetMachine.cpp')
| -rw-r--r-- | lib/Target/SystemZ/SystemZTargetMachine.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/SystemZ/SystemZTargetMachine.cpp b/lib/Target/SystemZ/SystemZTargetMachine.cpp index ede5005fa4916..f30d52f859d75 100644 --- a/lib/Target/SystemZ/SystemZTargetMachine.cpp +++ b/lib/Target/SystemZ/SystemZTargetMachine.cpp @@ -119,7 +119,7 @@ namespace {  /// SystemZ Code Generator Pass Configuration Options.  class SystemZPassConfig : public TargetPassConfig {  public: -  SystemZPassConfig(SystemZTargetMachine *TM, PassManagerBase &PM) +  SystemZPassConfig(SystemZTargetMachine &TM, PassManagerBase &PM)      : TargetPassConfig(TM, PM) {}    SystemZTargetMachine &getSystemZTargetMachine() const { @@ -212,7 +212,7 @@ void SystemZPassConfig::addPreEmitPass() {  }  TargetPassConfig *SystemZTargetMachine::createPassConfig(PassManagerBase &PM) { -  return new SystemZPassConfig(this, PM); +  return new SystemZPassConfig(*this, PM);  }  TargetIRAnalysis SystemZTargetMachine::getTargetIRAnalysis() {  | 
