Searched defs:costInline (Results 1 - 25 of 39) 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) { method in class:AssignAddExpression
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) { method in class:CaseStatement
H A DNaryExpression.java68 public int costInline(int thresh, Environment env, Context ctx) { method in class:NaryExpression
71 cost += right.costInline(thresh, env, ctx);
74 cost += args[i].costInline(thresh, env, ctx);
H A DAssignExpression.java107 public int costInline(int thresh, Environment env, Context ctx) { method in class:AssignExpression
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) { method in class:BreakStatement
H A DCastExpression.java101 public int costInline(int thresh, Environment env, Context ctx) { method in class:CastExpression
103 return 1 + right.costInline(thresh, env, ctx);
113 return 1 + right.costInline(thresh, env, ctx);
H A DContinueStatement.java92 public int costInline(int thresh, Environment env, Context ctx) { method in class:ContinueStatement
H A DInlineReturnStatement.java86 public int costInline(int thresh, Environment env, Context ctx) { method in class:InlineReturnStatement
87 return 1 + ((expr != null) ? expr.costInline(thresh, env, ctx) : 0);
H A DAddExpression.java188 public int costInline(int thresh, Environment env, Context ctx) { method in class:AddExpression
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) { method in class:BinaryAssignExpression
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){ method in class:CatchStatement
137 cost += body.costInline(thresh, env,ctx);
H A DCompoundStatement.java156 public int costInline(int thresh, Environment env, Context ctx) { method in class:CompoundStatement
159 cost += args[i].costInline(thresh, env, ctx);
H A DConditionalExpression.java164 public int costInline(int thresh, Environment env, Context ctx) { method in class:ConditionalExpression
165 // We need to check if right is null in case costInline()
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) { method in class:DeclarationStatement
113 cost += args[i].costInline(thresh, env, ctx);
H A DDoStatement.java102 public int costInline(int thresh, Environment env, Context ctx) { method in class:DoStatement
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) { method in class:ExpressionStatement
82 return expr.costInline(thresh, env, ctx);
H A DFieldUpdater.java109 public int costInline(int thresh, Environment env, Context ctx, boolean needGet) { method in class:FieldUpdater
114 cost += base.costInline(thresh, env, ctx);
H A DFinallyStatement.java242 public int costInline(int thresh, Environment env, Context ctx){ method in class:FinallyStatement
245 cost += init.costInline(thresh, env,ctx);
249 cost += body.costInline(thresh, env,ctx);
253 cost += finalbody.costInline(thresh, env,ctx);
H A DForStatement.java139 public int costInline(int thresh, Environment env, Context ctx) { method in class:ForStatement
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) { method in class:IfStatement
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) { method in class:IncDecExpression
97 // costs are highly approximate. See 'AssignOpExpression.costInline'
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) { method in class:InstanceOfExpression
87 return 1 + left.costInline(thresh, env, ctx);
96 return 1 + left.costInline(thresh, env, ctx);
H A DReturnStatement.java136 public int costInline(int thresh, Environment env, Context ctx) { method in class:ReturnStatement
137 return 1 + ((expr != null) ? expr.costInline(thresh, env, ctx) : 0);
H A DSwitchStatement.java175 public int costInline(int thresh, Environment env, Context ctx) { method in class:SwitchStatement
176 int cost = expr.costInline(thresh, env, ctx);
179 cost += args[i].costInline(thresh, env, ctx);
H A DSynchronizedStatement.java98 public int costInline(int thresh, Environment env, Context ctx){ method in class:SynchronizedStatement
101 cost += expr.costInline(thresh, env,ctx);
105 cost += body.costInline(thresh, env,ctx);

Completed in 46 milliseconds

12