[llvm-commits] CVS: llvm/include/llvm/Target/TargetMachine.h
Owen Anderson
resistor at mac.com
Thu May 11 23:34:08 PDT 2006
Changes in directory llvm/include/llvm/Target:
TargetMachine.h updated: 1.64 -> 1.65
---
Log message:
Refactor a bunch of includes so that TargetMachine.h doesn't have to include
TargetData.h. This should make recompiles a bit faster with my current
TargetData tinkering.
---
Diffs of the changes: (+3 -1)
TargetMachine.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/Target/TargetMachine.h
diff -u llvm/include/llvm/Target/TargetMachine.h:1.64 llvm/include/llvm/Target/TargetMachine.h:1.65
--- llvm/include/llvm/Target/TargetMachine.h:1.64 Tue May 2 20:29:56 2006
+++ llvm/include/llvm/Target/TargetMachine.h Fri May 12 01:33:48 2006
@@ -14,12 +14,13 @@
#ifndef LLVM_TARGET_TARGETMACHINE_H
#define LLVM_TARGET_TARGETMACHINE_H
-#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetInstrItineraries.h"
#include <cassert>
+#include <string>
namespace llvm {
+class TargetData;
class TargetSubtarget;
class TargetInstrInfo;
class TargetInstrDescriptor;
@@ -28,6 +29,7 @@
class TargetFrameInfo;
class MachineCodeEmitter;
class MRegisterInfo;
+class Module;
class FunctionPassManager;
class PassManager;
class Pass;
More information about the llvm-commits
mailing list