diff options
author | Chris Lattner <sabre@nondot.org> | 2005-06-25 02:48:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-06-25 02:48:37 +0000 |
commit | 0431c96cec9576611f06c513d6adcab0f950c18c (patch) | |
tree | f171a42cc9f00ad1bf9f6d7468156123017fce64 /lib/Target/CBackend/CTargetMachine.h | |
parent | 11f14c8be0946a8fb95189156ff1d64a01ff7da3 (diff) | |
download | llvm-0431c96cec9576611f06c513d6adcab0f950c18c.tar.gz llvm-0431c96cec9576611f06c513d6adcab0f950c18c.tar.bz2 llvm-0431c96cec9576611f06c513d6adcab0f950c18c.tar.xz |
Refactor the addPassesToEmitAssembly interface into a addPassesToEmitFile
interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22282 91177308-0d34-0410-b5e6-96231b3b80d8
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; } |