Targets should configure themselves based on a Module, not some wierd flags

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8132 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-08-24 19:49:48 +00:00
parent e3ac7565a0
commit bb144a892b
3 changed files with 12 additions and 12 deletions

View File

@ -61,7 +61,7 @@ static cl::opt<bool> DumpInput("dump-input",
// that implements the Sparc backend. (the llvm/CodeGen/Sparc.h interface)
//----------------------------------------------------------------------------
TargetMachine *allocateSparcTargetMachine(unsigned Configuration) {
TargetMachine *allocateSparcTargetMachine(const Module &M) {
return new UltraSparc();
}