projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not use typeinfo to identify pass in pass manager.
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
MachineFunctionPass.h
diff --git
a/include/llvm/CodeGen/MachineFunctionPass.h
b/include/llvm/CodeGen/MachineFunctionPass.h
index 77af52a34748f47c3a54c13e2857e3f77fcba5d5..7429e7b96c40eb0e165a02fe6cb425106cfee323 100644
(file)
--- a/
include/llvm/CodeGen/MachineFunctionPass.h
+++ b/
include/llvm/CodeGen/MachineFunctionPass.h
@@
-26,6
+26,8
@@
namespace llvm {
struct MachineFunctionPass : public FunctionPass {
+ MachineFunctionPass(intptr_t ID) : FunctionPass(ID) {}
+
/// runOnMachineFunction - This method must be overloaded to perform the
/// desired machine code transformation or analysis.
///