[llvm-commits] CVS: llvm/lib/Target/CBackend/CTargetMachine.h

Chris Lattner lattner at cs.uiuc.edu
Tue May 2 22:48:53 PDT 2006



Changes in directory llvm/lib/Target/CBackend:

CTargetMachine.h updated: 1.11 -> 1.12
---
Log message:

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


---
Diffs of the changes:  (+1 -1)

 CTargetMachine.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/CBackend/CTargetMachine.h
diff -u llvm/lib/Target/CBackend/CTargetMachine.h:1.11 llvm/lib/Target/CBackend/CTargetMachine.h:1.12
--- llvm/lib/Target/CBackend/CTargetMachine.h:1.11	Tue May  2 20:29:57 2006
+++ llvm/lib/Target/CBackend/CTargetMachine.h	Wed May  3 00:48:41 2006
@@ -23,7 +23,7 @@
 
   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,






More information about the llvm-commits mailing list