Fix a bug in Owen's checkin that broke the CBE on all non sparc v9 platforms.

llvm-svn: 28081
This commit is contained in:
Chris Lattner 2006-05-03 05:48:41 +00:00
parent 43b1ed7e3d
commit 9954bc9c19
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ struct CTargetMachine : public TargetMachine {
CTargetMachine(const Module &M, const std::string &FS)
: TargetMachine("CBackend", M),
DataLayout("CBackend") {}
DataLayout("CBackend", &M) {}
// This is the only thing that actually does anything here.
virtual bool addPassesToEmitFile(PassManager &PM, std::ostream &Out,