Lines Matching defs:env

67     public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable exp) {
68 ConditionVars cvars = cond.checkCondition(env, ctx, vset, exp);
69 vset = left.checkValue(env, ctx, cvars.vsTrue, exp).join(
70 right.checkValue(env, ctx, cvars.vsFalse, exp) );
71 cond = convert(env, ctx, Type.tBoolean, cond);
90 type = env.implicitCast(right.type, left.type)
95 } else if (((tm & TM_CHAR) != 0) && left.fitsType(env, ctx, Type.tChar) && right.fitsType(env, ctx, Type.tChar)) {
97 } else if (((tm & TM_SHORT) != 0) && left.fitsType(env, ctx, Type.tShort) && right.fitsType(env, ctx, Type.tShort)) {
99 } else if (((tm & TM_BYTE) != 0) && left.fitsType(env, ctx, Type.tByte) && right.fitsType(env, ctx, Type.tByte)) {
105 left = convert(env, ctx, type, left);
106 right = convert(env, ctx, type, right);
110 public Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) {
111 vset = cond.checkValue(env, ctx, vset, exp);
112 cond = convert(env, ctx, Type.tBoolean, cond);
113 return left.check(env, ctx, vset.copy(), exp).join(right.check(env, ctx, vset, exp));
139 public Expression inline(Environment env, Context ctx) {
140 left = left.inline(env, ctx);
141 right = right.inline(env, ctx);
143 return cond.inline(env, ctx);
150 cond = cond.inlineValue(env, ctx);
154 public Expression inlineValue(Environment env, Context ctx) {
155 cond = cond.inlineValue(env, ctx);
156 left = left.inlineValue(env, ctx);
157 right = right.inlineValue(env, ctx);
164 public int costInline(int thresh, Environment env, Context ctx) {
170 cond.costInline(thresh, env, ctx) +
171 left.costInline(thresh, env, ctx) +
172 ((right == null) ? 0 : right.costInline(thresh, env, ctx));
193 public void codeValue(Environment env, Context ctx, Assembler asm) {
197 cond.codeBranch(env, ctx, asm, l1, false);
198 left.codeValue(env, ctx, asm);
201 right.codeValue(env, ctx, asm);
204 public void code(Environment env, Context ctx, Assembler asm) {
206 cond.codeBranch(env, ctx, asm, l1, false);
207 left.code(env, ctx, asm);
212 right.code(env, ctx, asm);