From ee60d3f9a32f75c628961f40a9bf4f1bf387ac06 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Sun, 14 Apr 2024 02:21:48 -0600 Subject: Proper Allocation sizes for Boil VarDeclaration --- st/MethodInstance.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'st/MethodInstance.java') 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); -- cgit v1.2.3