113114115116117118119120121122123
new Dup(TypeCode.LONG,TypeCode.INT), new Convert(TypeCode.INT,TypeName.LONG), new Add(TypeCode.LONG), new Convert(TypeCode.LONG,TypeName.INT), new Add(TypeCode.INT), new Return(TypeCode.INT) ) ; cd = cd.addMethod(md) ; } return cd ; }
134135136137138139140141142143144
new Dup(TypeCode.INT,TypeCode.LONG), new Convert(TypeCode.LONG,TypeName.INT), new Add(TypeCode.INT), new Convert(TypeCode.INT,TypeName.LONG), new Add(TypeCode.LONG), new Return(TypeCode.LONG) ) ; cd = cd.addMethod(md) ; } return cd ; }
404142434445464748495051
md = md.addInstructions( new Load(x), new Load(y), new IfEquals(TypeCode.getType(type),one), new Const(false), new Return(TypeCode.BOOLEAN), new Nop(one), new Const(true), new Return(TypeCode.BOOLEAN) ) ; return cd.addMethod(md) ; }
md = md.addInstructions( new Load(x), new Load(y), new IfGreaterThanEq(TypeCode.getType(type),one), new Const(false), new Return(TypeCode.BOOLEAN), new Nop(one), new Const(true), new Return(TypeCode.BOOLEAN) ) ; return cd.addMethod(md) ; }
353637383940414243
MethodDef md = new MethodDef(new TypeName(ret),"meth",x,y) ; md = md.addInstructions( new Load(x), new Load(y), new Or(TypeCode.getType(type)), new Return(TypeCode.getType(ret)) ) ; return cd.addMethod(md) ; }
4243444546474849505152
md = md.setStatic(true) ; md = md.addInstructions( new Load(x), new Load(y), new Load(new ArrLValue(new TypeName(type))), new Return(TypeCode.getType(type)) ) ; cd = cd.addMethod(md) ; } return cd ; }
MethodDef md = new MethodDef(new TypeName(ret),"meth",x,y) ; md = md.addInstructions( new Load(x), new Load(y), new And(TypeCode.getType(type)), new Return(TypeCode.getType(ret)) ) ; return cd.addMethod(md) ; }
383940414243444546474849
Mark one = new Mark() ; md = md.addInstructions( new Load(x), new IfLessThan0(TypeCode.getType(type),one), new Const(false), new Return(TypeCode.BOOLEAN), new Nop(one), new Const(true), new Return(TypeCode.BOOLEAN) ) ; return cd.addMethod(md) ; }
MethodDef md = new MethodDef(new TypeName(ret),"meth",x,y) ; md = md.addInstructions( new Load(x), new Load(y), new Remainder(TypeCode.getType(type)), new Return(TypeCode.getType(ret)) ) ; return cd.addMethod(md) ; }
MethodDef md = new MethodDef(new TypeName(ret),"meth",x,y) ; md = md.addInstructions( new Load(x), new Load(y), new Multiply(TypeCode.getType(type)), new Return(TypeCode.getType(ret)) ) ; return cd.addMethod(md) ; }