Lines Matching refs:env

71     Vset check(Environment env, Context ctx, Vset vset, Hashtable exp) {
72 vset = reach(env, vset);
87 vset = tryExpr.checkValue(env, ctx, vset, exp);
91 vset = tryDecl.checkBlockStatement(env, ctx, vset, exp);
93 env.error(where, "invalid.decl");
101 env.error(where, "invalid.expr");
102 vset = init.check(env, ctx, vset, exp);
110 env.error(where, "invalid.method.invoke", type);
117 ClassDefinition tryClass = env.getClassDefinition(type);
118 tryEnter = tryClass.matchMethod(env, sourceClass, idTryEnter);
119 tryExit = tryClass.matchMethod(env, sourceClass, idTryExit);
127 env.error(where, "class.not.found", ee.name, ctx.field);
130 env.error(where, "ambig.field", id, ee.field1, ee.field2);
135 env.error(where, "invalid.method.invoke", type);
140 ctx.declare(env, tryTemp);
169 Vset vset1 = body.check(env, newctx1, vset.copy(), newexp)
175 Vset vset2 = finalbody.check(env, newctx2, vset, exp);
196 public Statement inline(Environment env, Context ctx) {
199 ctx.declare(env, tryTemp);
202 init = init.inline(env, ctx);
205 body = body.inline(env, ctx);
208 finalbody = finalbody.inline(env, ctx);
211 return eliminate(env, finalbody);
214 return eliminate(env, body);
242 public int costInline(int thresh, Environment env, Context ctx){
245 cost += init.costInline(thresh, env,ctx);
249 cost += body.costInline(thresh, env,ctx);
253 cost += finalbody.costInline(thresh, env,ctx);
261 public void code(Environment env, Context ctx, Assembler asm) {
267 ctx.declare(env, tryTemp);
271 init.code(env, exprctx, asm);
283 ctx.declare(env, localfield);
284 env.debugOutput("Assigning return slot to " + localfield.number);
290 num1 = new Integer(ctx.declare(env, f1));
291 num2 = new Integer(ctx.declare(env, f2));
300 body.code(env, bodyctx, asm);
334 finalbody.code(env, bodyctx, asm); // execute the cleanup code
337 finalbody.code(env, bodyctx, asm); // execute the cleanup code