public static Ident Param(String name, Xtype t) { return Var(name, t, Xtype.Pointer(t), VarScope.PARAM); }
public static Ident TempVar(int num, Xtype t) { if (t.isArray()) { t = Xtype.Pointer(t.getRef()); // convert to pointer return new Ident(num, t); } else return new Ident(num, t); }
public static Ident Local(String name, Xtype t) { if (XmOption.isLanguageC()) return Local(name, t, Xtype.Pointer(t)); return Fident(name, t); }