diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-10 12:48:53 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-10 12:48:53 +0000 |
commit | 28251a0c6f4e31c63c12746ffa77e05c669ef80d (patch) | |
tree | e1a9dfad8db410a0ae0db0e56f1bfc9accac6262 /c_compiler/include/translation_unit.hpp | |
parent | 3e145bf08b1ffcccb4df8f2fc34f5bb95b5b250c (diff) | |
download | Compiler-28251a0c6f4e31c63c12746ffa77e05c669ef80d.tar.gz Compiler-28251a0c6f4e31c63c12746ffa77e05c669ef80d.zip |
Changing printasm
Diffstat (limited to 'c_compiler/include/translation_unit.hpp')
-rw-r--r-- | c_compiler/include/translation_unit.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/c_compiler/include/translation_unit.hpp b/c_compiler/include/translation_unit.hpp index 42822f9..c290163 100644 --- a/c_compiler/include/translation_unit.hpp +++ b/c_compiler/include/translation_unit.hpp @@ -1,7 +1,9 @@ -#ifndef EXTERNAL_HPP -#define EXTERNAL_HPP +#ifndef TRANSLATION_UNIT_HPP +#define TRANSLATION_UNIT_HPP -#include "ast.hpp" +#include "node.hpp" + +#include <vector> class TranslationUnit : public Node { @@ -13,7 +15,7 @@ public: virtual void print() const; virtual void printxml() const; - virtual void printasm() const; + virtual VariableStackBindings printasm(VariableStackBindings bindings) const; void push(Node* decl); }; |