Remove the "WantsWholeFile" concept, as it's no longer needed. CBE
authorDan Gohman <gohman@apple.com>
Tue, 11 May 2010 19:57:55 +0000 (19:57 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 11 May 2010 19:57:55 +0000 (19:57 +0000)
commit99dca4fde746eb76253e737cca166261c767412d
treeaa2860ef43439172ef9537dce17a8495aca192ad
parent038df88e28b88dfea7e95d6331ffcdc03e71d8e4
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
include/llvm/Target/TargetMachine.h
lib/Target/CBackend/CBackend.cpp
lib/Target/CBackend/CTargetMachine.h
lib/Target/CppBackend/CPPBackend.cpp
lib/Target/CppBackend/CPPTargetMachine.h
lib/Target/MSIL/MSILWriter.cpp
tools/llc/llc.cpp