mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
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:
parent
a4ea552058
commit
b12bd9d7a7
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user