[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp AlphaTargetMachine.h
Bill Wendling
isanbard at gmail.com
Wed Feb 7 17:38:49 PST 2007
Changes in directory llvm/lib/Target/Alpha:
AlphaTargetMachine.cpp updated: 1.35 -> 1.36
AlphaTargetMachine.h updated: 1.18 -> 1.19
---
Log message:
Added new method to add a "simple" code emitter. That is, to only add
the code emitter and not set variables.
---
Diffs of the changes: (+7 -0)
AlphaTargetMachine.cpp | 5 +++++
AlphaTargetMachine.h | 2 ++
2 files changed, 7 insertions(+)
Index: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
diff -u llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.35 llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.36
--- llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.35 Tue Oct 31 10:49:55 2006
+++ llvm/lib/Target/Alpha/AlphaTargetMachine.cpp Wed Feb 7 19:38:33 2007
@@ -88,3 +88,8 @@
PM.add(createAlphaCodeEmitterPass(*this, MCE));
return false;
}
+bool AlphaTargetMachine::addSimpleCodeEmitter(FunctionPassManager &PM,
+ bool Fast,
+ MachineCodeEmitter &MCE) {
+ return addCodeEmitter(PM, Fast, MCE);
+}
Index: llvm/lib/Target/Alpha/AlphaTargetMachine.h
diff -u llvm/lib/Target/Alpha/AlphaTargetMachine.h:1.18 llvm/lib/Target/Alpha/AlphaTargetMachine.h:1.19
--- llvm/lib/Target/Alpha/AlphaTargetMachine.h:1.18 Tue Oct 10 23:29:42 2006
+++ llvm/lib/Target/Alpha/AlphaTargetMachine.h Wed Feb 7 19:38:33 2007
@@ -64,6 +64,8 @@
std::ostream &Out);
virtual bool addCodeEmitter(FunctionPassManager &PM, bool Fast,
MachineCodeEmitter &MCE);
+ virtual bool addSimpleCodeEmitter(FunctionPassManager &PM, bool Fast,
+ MachineCodeEmitter &MCE);
};
} // end namespace llvm
More information about the llvm-commits
mailing list