[llvm-commits] CVS: llvm/lib/Target/ARM/ARMTargetMachine.cpp

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



Changes in directory llvm/lib/Target/ARM:

ARMTargetMachine.cpp updated: 1.1 -> 1.2
---
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)

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


Index: llvm/lib/Target/ARM/ARMTargetMachine.cpp
diff -u llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.1 llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.2
--- llvm/lib/Target/ARM/ARMTargetMachine.cpp:1.1	Sun May 14 17:18:28 2006
+++ llvm/lib/Target/ARM/ARMTargetMachine.cpp	Fri May 19 19:24:56 2006
@@ -33,7 +33,7 @@
 ///
 ARMTargetMachine::ARMTargetMachine(const Module &M, const std::string &FS)
   : TargetMachine("ARM"),
-    DataLayout("ARM", false, 4, 4),
+    DataLayout(std::string("ARM"), std::string("E-p:32:32")),
     InstrInfo(),
     FrameInfo(TargetFrameInfo::StackGrowsDown, 8, 0) {
 }






More information about the llvm-commits mailing list