[llvm-commits] CVS: llvm/include/llvm/Target/TargetMachine.h

Chris Lattner lattner at cs.uiuc.edu
Tue Mar 2 20:13:01 PST 2004


Changes in directory llvm/include/llvm/Target:

TargetMachine.h updated: 1.43 -> 1.44

---
Log message:

Add a new constructor


---
Diffs of the changes:  (+6 -0)

Index: llvm/include/llvm/Target/TargetMachine.h
diff -u llvm/include/llvm/Target/TargetMachine.h:1.43 llvm/include/llvm/Target/TargetMachine.h:1.44
--- llvm/include/llvm/Target/TargetMachine.h:1.43	Mon Mar  1 00:43:28 2004
+++ llvm/include/llvm/Target/TargetMachine.h	Tue Mar  2 20:12:27 2004
@@ -52,6 +52,12 @@
 		unsigned char DoubleAl = 8, unsigned char FloatAl = 4,
 		unsigned char LongAl = 8, unsigned char IntAl = 4,
 		unsigned char ShortAl = 2, unsigned char ByteAl = 1);
+
+  // This constructor is used for targets that support arbitrary TargetData
+  // layouts, like the C backend.  It initializes the TargetData to match that
+  // of the specified module.
+  TargetMachine(const std::string &name, IntrinsicLowering *IL,
+                const Module &M);
 public:
   virtual ~TargetMachine();
 





More information about the llvm-commits mailing list