summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-03 05:48:41 +0000
committerChris Lattner <sabre@nondot.org>2006-05-03 05:48:41 +0000
commit9954bc9c19250ad49a9b056d7c0b8eb7466354ae (patch)
tree74448b29bdcecedd19109a4e0389fe99eef92b7e /llvm/lib
parent43b1ed7e3df02aae9f92555b68bf61f98fe7102b (diff)
downloadbcm5719-llvm-9954bc9c19250ad49a9b056d7c0b8eb7466354ae.tar.gz
bcm5719-llvm-9954bc9c19250ad49a9b056d7c0b8eb7466354ae.zip
Fix a bug in Owen's checkin that broke the CBE on all non sparc v9 platforms.
llvm-svn: 28081
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/CBackend/CTargetMachine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/CBackend/CTargetMachine.h b/llvm/lib/Target/CBackend/CTargetMachine.h
index 271a2bf653a..98ea0cb267f 100644
--- a/llvm/lib/Target/CBackend/CTargetMachine.h
+++ b/llvm/lib/Target/CBackend/CTargetMachine.h
@@ -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,
OpenPOWER on IntegriCloud