Omitting tunable parameters from Transform's constructors
[satune.git] / src / ASTTransform / pass.h
index 2d5c84efaf5c7b0e8ef1ab7299e513b709312631..c9ee69ec5e69e8ae5bce783f4a3f457e59855376 100644 (file)
 
 class Pass{
 public:
-       Pass(Tunables _tunable, TunableDesc* _desc);
-       virtual ~Pass();
-       virtual inline bool canExecutePass(CSolver* This, uint type=0){
-               return GETVARTUNABLE(This->getTuner(), type, tunable, tunableDesc);
+       Pass(){};
+       virtual ~Pass(){};
+       virtual inline bool canExecutePass(CSolver* This, uint type, Tunables tunable, TunableDesc* desc){
+               return GETVARTUNABLE(This->getTuner(), type, tunable, desc);
        }
        MEMALLOC;
-protected:
-       Tunables tunable;
-       TunableDesc* tunableDesc;
+
 };