mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix a bug in Owen's checkin that broke the CBE on all non sparc v9 platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28081 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
67977ad19c
commit
5c488182da
@ -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