summaryrefslogtreecommitdiff
path: root/node/BaseNode.hh
blob: 4a3746c9333010e017bea5294d49300d35a0762c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef PCC_BASENODE_H
#define PCC_BASENODE_H

#include <llvm/IR/Value.h>

#include "Context.hh"

namespace pcc {
class BaseNode {
  public:
    virtual Value CodeGen() = 0;
    BaseNode(Context* context);

  protected:
    Context* context_;
};
} // namespace pcc

#endif