diff options
Diffstat (limited to 'lib/Target/CBackend/CTargetMachine.h')
-rw-r--r-- | lib/Target/CBackend/CTargetMachine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/CBackend/CTargetMachine.h b/lib/Target/CBackend/CTargetMachine.h index 97f880d2fd..aa672fc6ca 100644 --- a/lib/Target/CBackend/CTargetMachine.h +++ b/lib/Target/CBackend/CTargetMachine.h @@ -25,6 +25,9 @@ struct CTargetMachine : public TargetMachine { // This is the only thing that actually does anything here. virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out); + + // This class always works, but shouldn't be the default in most cases. + static unsigned getModuleMatchQuality(const Module &M) { return 1; } }; } // End llvm namespace |