diff options
Diffstat (limited to 'lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
| -rw-r--r-- | lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp b/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp index 3cc19ef5fbab..d38cde74d2ec 100644 --- a/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp +++ b/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp @@ -146,10 +146,9 @@ public:  };  } // end anonymous namespace -TargetIRAnalysis WebAssemblyTargetMachine::getTargetIRAnalysis() { -  return TargetIRAnalysis([this](const Function &F) { -    return TargetTransformInfo(WebAssemblyTTIImpl(this, F)); -  }); +TargetTransformInfo +WebAssemblyTargetMachine::getTargetTransformInfo(const Function &F) { +  return TargetTransformInfo(WebAssemblyTTIImpl(this, F));  }  TargetPassConfig * | 
