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/MethodInstance.java | |
parent | 6ecd1893b4586c7077c6969431b47ca4e0962240 (diff) |
Proper Allocation sizes for Boil VarDeclaration
Diffstat (limited to 'st/MethodInstance.java')
-rw-r--r-- | st/MethodInstance.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/st/MethodInstance.java b/st/MethodInstance.java index c7df92f..6cf6ccc 100644 --- a/st/MethodInstance.java +++ b/st/MethodInstance.java @@ -22,6 +22,10 @@ public class MethodInstance extends AbstractInstance { return this.lvars; } + public TypeEnum getReturn() { + return this.rtrn; + } + protected void addArgument(TypeInstance arg) { this.args.add(arg); this.lvars.add(arg); |