aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/include/type.hpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-03-10 12:48:53 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-03-10 12:48:53 +0000
commit28251a0c6f4e31c63c12746ffa77e05c669ef80d (patch)
treee1a9dfad8db410a0ae0db0e56f1bfc9accac6262 /c_compiler/include/type.hpp
parent3e145bf08b1ffcccb4df8f2fc34f5bb95b5b250c (diff)
downloadCompiler-28251a0c6f4e31c63c12746ffa77e05c669ef80d.tar.gz
Compiler-28251a0c6f4e31c63c12746ffa77e05c669ef80d.zip
Changing printasm
Diffstat (limited to 'c_compiler/include/type.hpp')
-rw-r--r--c_compiler/include/type.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c_compiler/include/type.hpp b/c_compiler/include/type.hpp
index 8727ee0..3deca58 100644
--- a/c_compiler/include/type.hpp
+++ b/c_compiler/include/type.hpp
@@ -1,14 +1,14 @@
#ifndef TYPE_HPP
#define TYPE_HPP
-#include "ast.hpp"
+#include "node.hpp"
class Type : public Node {
public:
virtual void print() const;
virtual void printxml() const;
- virtual void printasm() const;
+ virtual VariableStackBindings printasm(VariableStackBindings bindings) const;
virtual std::string getType() const = 0;
};