diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-14 02:21:48 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-14 02:21:48 -0600 |
commit | ee60d3f9a32f75c628961f40a9bf4f1bf387ac06 (patch) | |
tree | f424f292d987f6472f9ca1f5283127797461a075 /st/AbstractInstance.java | |
parent | 6ecd1893b4586c7077c6969431b47ca4e0962240 (diff) |
Proper Allocation sizes for Boil VarDeclaration
Diffstat (limited to 'st/AbstractInstance.java')
-rw-r--r-- | st/AbstractInstance.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/st/AbstractInstance.java b/st/AbstractInstance.java index 241991d..d236044 100644 --- a/st/AbstractInstance.java +++ b/st/AbstractInstance.java @@ -5,7 +5,6 @@ import java.util.ArrayList; public abstract class AbstractInstance { protected String name; // the literal name of the declaration protected TypeEnum type; // the type of the declaration - protected int size; // the size in memory protected ArrayList<AbstractInstance> scope; // the scope where the instance is valid public AbstractInstance(String name, TypeEnum type) { @@ -50,10 +49,6 @@ public abstract class AbstractInstance { return this.type; } - public int getSize() { - return this.size; - } - public ArrayList<AbstractInstance> getScope() { return this.scope; } |