diff options
Diffstat (limited to 'st/MethodInstance.java')
-rw-r--r-- | st/MethodInstance.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/st/MethodInstance.java b/st/MethodInstance.java index 11b233b..8b4ed57 100644 --- a/st/MethodInstance.java +++ b/st/MethodInstance.java @@ -3,8 +3,8 @@ package st; import java.util.ArrayList; public class MethodInstance extends AbstractInstance { - private ArrayList<TypeInstance> args; // the list of arguments - private ArrayList<TypeInstance> lvars; // the list of local variables + private ArrayList<String> args; // the list of arguments + private ArrayList<String> lvars; // the list of local variables private TypeEnum rtrn; // the returned type public MethodInstance(String name, TypeEnum rtrn) { @@ -20,11 +20,11 @@ public class MethodInstance extends AbstractInstance { "]V[" + this.lvars.toString() + "]"; } - public void set_args(ArrayList<TypeInstance> args) { + public void set_args(ArrayList<String> args) { this.args = args; } - public void set_locals(ArrayList<TypeInstance> lvars) { + public void set_locals(ArrayList<String> lvars) { this.lvars = lvars; } |