[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp

Owen Anderson resistor at mac.com
Fri May 19 17:25:14 PDT 2006



Changes in directory llvm/lib/Target/Alpha:

AlphaTargetMachine.cpp updated: 1.24 -> 1.25
---
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)

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


Index: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
diff -u llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.24 llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.25
--- llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.24	Tue May  2 20:29:57 2006
+++ llvm/lib/Target/Alpha/AlphaTargetMachine.cpp	Fri May 19 19:24:56 2006
@@ -55,7 +55,7 @@
 
 AlphaTargetMachine::AlphaTargetMachine(const Module &M, const std::string &FS)
   : TargetMachine("alpha"),
-    DataLayout("alpha", true),
+    DataLayout(std::string("alpha"), std::string("e")),
     FrameInfo(TargetFrameInfo::StackGrowsDown, 16, 0),
     JITInfo(*this),
     Subtarget(M, FS)






More information about the llvm-commits mailing list