Skip to content

Commit e945366

Browse files
committed
Migrated NVPTXTargetMachine.h to use the new TargetMachine MC emission API.
1 parent b33936c commit e945366

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/NVPTX/NVPTXTargetMachine.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ class NVPTXTargetMachine : public LLVMTargetMachine {
5252
TargetPassConfig *createPassConfig(PassManagerBase &PM) override;
5353

5454
// Emission of machine code through MCJIT is not supported.
55-
bool addPassesToEmitMC(PassManagerBase &, MCContext *&, raw_pwrite_stream &,
56-
bool = true) override {
55+
bool addPassesToEmitMC(PassManagerBase &, MachineModuleInfo &,
56+
raw_pwrite_stream &, bool = true) override {
5757
return true;
5858
}
5959
TargetLoweringObjectFile *getObjFileLowering() const override {

0 commit comments

Comments
 (0)