Changes in directory llvm/lib/Target/X86:

X86TargetMachine.cpp updated: 1.113 -> 1.114
---
Log message:

Make all of the TargetMachine subclasses use the new string TargetData methods.

This is part of the on-going work on PR 761: http://llvm.cs.uiuc.edu/PR761 .


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

 X86TargetMachine.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/X86/X86TargetMachine.cpp
diff -u llvm/lib/Target/X86/X86TargetMachine.cpp:1.113 
llvm/lib/Target/X86/X86TargetMachine.cpp:1.114
--- llvm/lib/Target/X86/X86TargetMachine.cpp:1.113      Tue May  2 20:29:57 2006
+++ llvm/lib/Target/X86/X86TargetMachine.cpp    Fri May 19 19:24:56 2006
@@ -69,7 +69,7 @@
 ///
 X86TargetMachine::X86TargetMachine(const Module &M, const std::string &FS)
   : TargetMachine("X86"),
-    DataLayout("X86", true, 4, 4, 4, 4, 4),
+    DataLayout(std::string("X86"), std::string("e-p:32:32-d:64:32-l:64:32")),
     Subtarget(M, FS),
     FrameInfo(TargetFrameInfo::StackGrowsDown,
               Subtarget.getStackAlignment(), -4),



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to