Do not use typeinfo to identify pass in pass manager.
[oota-llvm.git] / include / llvm / CodeGen / MachineFunctionPass.h
index 77af52a34748f47c3a54c13e2857e3f77fcba5d5..7429e7b96c40eb0e165a02fe6cb425106cfee323 100644 (file)
@@ -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.
   ///