diff options
Diffstat (limited to 'lib/Target/CBackend/CTargetMachine.h')
-rw-r--r-- | lib/Target/CBackend/CTargetMachine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/CBackend/CTargetMachine.h b/lib/Target/CBackend/CTargetMachine.h index 80dc3c4a94..56c5367231 100644 --- a/lib/Target/CBackend/CTargetMachine.h +++ b/lib/Target/CBackend/CTargetMachine.h @@ -24,7 +24,8 @@ struct CTargetMachine : public TargetMachine { TargetMachine("CBackend", IL, M) {} // This is the only thing that actually does anything here. - virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out); + virtual bool addPassesToEmitFile(PassManager &PM, std::ostream &Out, + CodeGenFileType FileType); // This class always works, but shouldn't be the default in most cases. static unsigned getModuleMatchQuality(const Module &M) { return 1; } |