Searched defs:thresh (Results 1 - 25 of 41) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/tools/tree/
H A DAssignAddExpression.java49 public int costInline(int thresh, Environment env, Context ctx) { argument
50 return type.isType(TC_CLASS) ? 25 : super.costInline(thresh, env, ctx);
H A DCaseStatement.java64 public int costInline(int thresh, Environment env, Context ctx) { argument
H A DNaryExpression.java68 public int costInline(int thresh, Environment env, Context ctx) { argument
71 cost += right.costInline(thresh, env, ctx);
72 for (int i = 0 ; (i < args.length) && (cost < thresh) ; i++) {
74 cost += args[i].costInline(thresh, env, ctx);
H A DAssignExpression.java107 public int costInline(int thresh, Environment env, Context ctx) { argument
109 return 2 + super.costInline(thresh, env, ctx);
114 ? right.costInline(thresh, env, ctx) +
115 updater.costInline(thresh, env, ctx, false)
118 : right.costInline(thresh, env, ctx) +
119 left.costInline(thresh, env, ctx) + 2;
H A DBreakStatement.java80 public int costInline(int thresh, Environment env, Context ctx) { argument
H A DCastExpression.java101 public int costInline(int thresh, Environment env, Context ctx) { argument
103 return 1 + right.costInline(thresh, env, ctx);
113 return 1 + right.costInline(thresh, env, ctx);
116 return thresh;
H A DContinueStatement.java92 public int costInline(int thresh, Environment env, Context ctx) { argument
H A DInlineReturnStatement.java86 public int costInline(int thresh, Environment env, Context ctx) { argument
87 return 1 + ((expr != null) ? expr.costInline(thresh, env, ctx) : 0);
H A DAddExpression.java188 public int costInline(int thresh, Environment env, Context ctx) { argument
190 + left.costInline(thresh, env, ctx)
191 + right.costInline(thresh, env, ctx);
H A DBinaryAssignExpression.java96 public int costInline(int thresh, Environment env, Context ctx) { argument
98 return implementation.costInline(thresh, env, ctx);
99 return super.costInline(thresh, env, ctx);
H A DCatchStatement.java134 public int costInline(int thresh, Environment env, Context ctx){ argument
137 cost += body.costInline(thresh, env,ctx);
H A DCompoundStatement.java156 public int costInline(int thresh, Environment env, Context ctx) { argument
158 for (int i = 0 ; (i < args.length) && (cost < thresh) ; i++) {
159 cost += args[i].costInline(thresh, env, ctx);
H A DConditionalExpression.java164 public int costInline(int thresh, Environment env, Context ctx) { argument
170 cond.costInline(thresh, env, ctx) +
171 left.costInline(thresh, env, ctx) +
172 ((right == null) ? 0 : right.costInline(thresh, env, ctx));
H A DDeclarationStatement.java109 public int costInline(int thresh, Environment env, Context ctx) { argument
113 cost += args[i].costInline(thresh, env, ctx);
H A DDoStatement.java102 public int costInline(int thresh, Environment env, Context ctx) { argument
103 return 1 + cond.costInline(thresh, env, ctx)
104 + ((body != null) ? body.costInline(thresh, env, ctx) : 0);
H A DExpressionStatement.java81 public int costInline(int thresh, Environment env, Context ctx) { argument
82 return expr.costInline(thresh, env, ctx);
H A DFieldUpdater.java109 public int costInline(int thresh, Environment env, Context ctx, boolean needGet) { argument
114 cost += base.costInline(thresh, env, ctx);
H A DFinallyStatement.java242 public int costInline(int thresh, Environment env, Context ctx){ argument
245 cost += init.costInline(thresh, env,ctx);
246 if (cost >= thresh) return cost;
249 cost += body.costInline(thresh, env,ctx);
250 if (cost >= thresh) return cost;
253 cost += finalbody.costInline(thresh, env,ctx);
H A DForStatement.java139 public int costInline(int thresh, Environment env, Context ctx) { argument
142 cost += init.costInline(thresh, env, ctx);
145 cost += cond.costInline(thresh, env, ctx);
148 cost += body.costInline(thresh, env, ctx);
151 cost += inc.costInline(thresh, env, ctx);
H A DIfStatement.java156 public int costInline(int thresh, Environment env, Context ctx) { argument
157 int cost = 1 + cond.costInline(thresh, env, ctx);
159 cost += ifTrue.costInline(thresh, env, ctx);
162 cost += ifFalse.costInline(thresh, env, ctx);
H A DIncDecExpression.java88 public int costInline(int thresh, Environment env, Context ctx) { argument
100 return right.costInline(thresh, env, ctx) + 4;
103 return updater.costInline(thresh, env, ctx, true) + 1;
H A DInstanceOfExpression.java85 public int costInline(int thresh, Environment env, Context ctx) { argument
87 return 1 + left.costInline(thresh, env, ctx);
96 return 1 + left.costInline(thresh, env, ctx);
99 return thresh;
H A DReturnStatement.java136 public int costInline(int thresh, Environment env, Context ctx) { argument
137 return 1 + ((expr != null) ? expr.costInline(thresh, env, ctx) : 0);
H A DSwitchStatement.java175 public int costInline(int thresh, Environment env, Context ctx) { argument
176 int cost = expr.costInline(thresh, env, ctx);
177 for (int i = 0 ; (i < args.length) && (cost < thresh) ; i++) {
179 cost += args[i].costInline(thresh, env, ctx);
H A DSynchronizedStatement.java98 public int costInline(int thresh, Environment env, Context ctx){ argument
101 cost += expr.costInline(thresh, env,ctx);
102 if (cost >= thresh) return cost;
105 cost += body.costInline(thresh, env,ctx);

Completed in 1941 milliseconds

12