summaryrefslogtreecommitdiff
path: root/node/BaseNode.hh
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-05-21 13:32:12 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-05-21 13:32:12 +0800
commit3832be8be4b23fb9e93a3f181e4205eadbdbf4de (patch)
tree0b958eb72400458401be619b04a8a6cf77194255 /node/BaseNode.hh
parent41f6e75e3f26bdcccfcb3910f202452e14653826 (diff)
binary and unary operations
Diffstat (limited to 'node/BaseNode.hh')
-rw-r--r--node/BaseNode.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/node/BaseNode.hh b/node/BaseNode.hh
index 4a3746c..ab0b96a 100644
--- a/node/BaseNode.hh
+++ b/node/BaseNode.hh
@@ -1,15 +1,13 @@
#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);
+ virtual Value CodeGen() = 0;
protected:
Context* context_;