[llvm-commits] CVS: llvm/tools/llc/llc.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Dec 28 03:52:04 PST 2003
Changes in directory llvm/tools/llc:
llc.cpp updated: 1.87 -> 1.88
---
Log message:
Pass extra arguments around n stuph
---
Diffs of the changes: (+3 -2)
Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.87 llvm/tools/llc/llc.cpp:1.88
--- llvm/tools/llc/llc.cpp:1.87 Tue Nov 11 16:41:34 2003
+++ llvm/tools/llc/llc.cpp Sun Dec 28 03:51:04 2003
@@ -78,7 +78,8 @@
// Allocate target machine. First, check whether the user has
// explicitly specified an architecture to compile for.
- TargetMachine* (*TargetMachineAllocator)(const Module&) = 0;
+ TargetMachine* (*TargetMachineAllocator)(const Module&,
+ IntrinsicLowering *) = 0;
switch (Arch) {
case x86:
TargetMachineAllocator = allocateX86TargetMachine;
@@ -112,7 +113,7 @@
}
break;
}
- std::auto_ptr<TargetMachine> target(TargetMachineAllocator(mod));
+ std::auto_ptr<TargetMachine> target(TargetMachineAllocator(mod, 0));
assert(target.get() && "Could not allocate target machine!");
TargetMachine &Target = *target.get();
const TargetData &TD = Target.getTargetData();
More information about the llvm-commits
mailing list