aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetMachine.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-11 19:57:55 +0000
committerDan Gohman <gohman@apple.com>2010-05-11 19:57:55 +0000
commit99dca4fde746eb76253e737cca166261c767412d (patch)
treeaa2860ef43439172ef9537dce17a8495aca192ad /include/llvm/Target/TargetMachine.h
parent038df88e28b88dfea7e95d6331ffcdc03e71d8e4 (diff)
downloadexternal_llvm-99dca4fde746eb76253e737cca166261c767412d.zip
external_llvm-99dca4fde746eb76253e737cca166261c767412d.tar.gz
external_llvm-99dca4fde746eb76253e737cca166261c767412d.tar.bz2
Remove the "WantsWholeFile" concept, as it's no longer needed. CBE
and the others use the regular addPassesToEmitFile hook now, and llc no longer needs a bunch of redundant code to handle the whole-file case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetMachine.h')
-rw-r--r--include/llvm/Target/TargetMachine.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h
index c734cf4..580998f 100644
--- a/include/llvm/Target/TargetMachine.h
+++ b/include/llvm/Target/TargetMachine.h
@@ -225,17 +225,6 @@ public:
bool = true) {
return true;
}
-
- /// addPassesToEmitWholeFile - This method can be implemented by targets that
- /// require having the entire module at once. This is not recommended, do not
- /// use this.
- virtual bool WantsWholeFile() const { return false; }
- virtual bool addPassesToEmitWholeFile(PassManager &, formatted_raw_ostream &,
- CodeGenFileType,
- CodeGenOpt::Level,
- bool = true) {
- return true;
- }
};
/// LLVMTargetMachine - This class describes a target machine that is