[llvm-commits] CVS: llvm/lib/Target/TargetMachine.cpp
Misha Brukman
brukman at cs.uiuc.edu
Tue Aug 10 16:10:36 PDT 2004
Changes in directory llvm/lib/Target:
TargetMachine.cpp updated: 1.32 -> 1.33
---
Log message:
Implement new constructor.
---
Diffs of the changes: (+7 -0)
Index: llvm/lib/Target/TargetMachine.cpp
diff -u llvm/lib/Target/TargetMachine.cpp:1.32 llvm/lib/Target/TargetMachine.cpp:1.33
--- llvm/lib/Target/TargetMachine.cpp:1.32 Thu Jul 22 20:09:52 2004
+++ llvm/lib/Target/TargetMachine.cpp Tue Aug 10 18:10:25 2004
@@ -52,6 +52,13 @@
IntAl, ShortAl, ByteAl, BoolAl) {
IL = il ? il : new DefaultIntrinsicLowering();
}
+
+TargetMachine::TargetMachine(const std::string &name, IntrinsicLowering *il,
+ const TargetData &TD)
+ : Name(name), DataLayout(TD) {
+ IL = il ? il : new DefaultIntrinsicLowering();
+}
+
TargetMachine::TargetMachine(const std::string &name, IntrinsicLowering *il,
const Module &M)
: Name(name), DataLayout(name, &M) {
More information about the llvm-commits
mailing list