Lines Matching refs:ctx

57     final void selectType(Environment env, Context ctx, int tm) {
125 right = convert(env, ctx, rtype, right);
152 public Vset checkValue(Environment env, Context ctx, Vset vset, Hashtable<Object, Object> exp) {
153 vset = left.checkAssignOp(env, ctx, vset, exp, this);
154 vset = right.checkValue(env, ctx, vset, exp);
159 selectType(env, ctx, tm);
161 convert(env, ctx, itype, left);
163 updater = left.getUpdater(env, ctx); // Must be called after 'checkAssignOp'.
170 public Expression inlineValue(Environment env, Context ctx) {
172 left = left.inlineValue(env, ctx);
173 right = right.inlineValue(env, ctx);
175 updater = updater.inline(env, ctx);
183 public Expression copyInline(Context ctx) {
185 e.left = left.copyInline(ctx);
186 e.right = right.copyInline(ctx);
188 e.updater = updater.copyInline(ctx);
196 public int costInline(int thresh, Environment env, Context ctx) {
200 : (3 + super.costInline(thresh, env, ctx));
211 : right.costInline(thresh, env, ctx) +
212 left.costInline(thresh, env, ctx) + 4;
217 return right.costInline(thresh, env, ctx) +
218 updater.costInline(thresh, env, ctx, true) + 1;
225 void code(Environment env, Context ctx, Assembler asm, boolean valNeeded) {
236 left.codeValue(env, ctx, asm);
243 int depth = left.codeLValue(env, ctx, asm);
244 codeDup(env, ctx, asm, depth, 0);
245 left.codeLoad(env, ctx, asm);
246 codeConversion(env, ctx, asm, left.type, itype);
247 right.codeValue(env, ctx, asm);
248 codeOperation(env, ctx, asm);
249 codeConversion(env, ctx, asm, itype, type);
251 codeDup(env, ctx, asm, type.stackSize(), depth);
253 left.codeStore(env, ctx, asm);
256 updater.startUpdate(env, ctx, asm, false);
257 codeConversion(env, ctx, asm, left.type, itype);
258 right.codeValue(env, ctx, asm);
259 codeOperation(env, ctx, asm);
260 codeConversion(env, ctx, asm, itype, type);
261 updater.finishUpdate(env, ctx, asm, valNeeded);
265 public void codeValue(Environment env, Context ctx, Assembler asm) {
266 code(env, ctx, asm, true);
268 public void code(Environment env, Context ctx, Assembler asm) {
269 code(env, ctx, asm, false);