Home
last modified time | relevance | path

Searched refs:maxStack (Results 1 – 11 of 11) sorted by relevance

/external/javassist/src/main/javassist/bytecode/
DCodeAttribute.java43 private int maxStack; field in CodeAttribute
61 maxStack = stack; in CodeAttribute()
82 maxStack = src.getMaxStack(); in CodeAttribute()
102 maxStack = in.readUnsignedShort(); in CodeAttribute()
168 out.writeShort(maxStack); // max_stack in write()
220 return maxStack; in getMaxStack()
227 maxStack = value; in setMaxStack()
238 maxStack = new CodeAnalyzer(this).computeMaxStack(); in computeMaxStack()
239 return maxStack; in computeMaxStack()
DCodeAnalyzer.java53 int maxStack = 1; in computeMaxStack() local
55 if (stack[i] > maxStack) in computeMaxStack()
56 maxStack = stack[i]; in computeMaxStack()
58 return maxStack - 1; // the base is 1. in computeMaxStack()
DBytecode.java121 int maxStack, maxLocals; field in Bytecode
140 maxStack = stacksize; in Bytecode()
189 return new CodeAttribute(constPool, maxStack, maxLocals, in toCodeAttribute()
210 public int getMaxStack() { return maxStack; } in getMaxStack()
227 maxStack = size; in setMaxStack()
441 if (stackDepth > maxStack) in setStackDepth()
442 maxStack = stackDepth; in setStackDepth()
DClassFileWriter.java447 public void codeEnd(int maxStack, int maxLocals) { in codeEnd() argument
449 output.writeShort(startPos + 6, maxStack); in codeEnd()
/external/javassist/src/main/javassist/expr/
DExprEditor.java109 codeAttr.setMaxStack(codeAttr.getMaxStack() + context.maxStack); in doit()
158 int maxStack; field in ExprEditor.LoopContext
162 maxStack = 0; in LoopContext()
170 if (maxStack < stack) in updateMax()
171 maxStack = stack; in updateMax()
DExpr.java50 int maxLocals, maxStack; field in Expr
85 return maxStack; in stack()
303 maxStack = bytecode.getMaxStack(); in replace0()
327 maxStack += context.maxStack; in runEditor()
DHandler.java131 maxStack = b.getMaxStack(); in insertBefore()
/external/javassist/src/main/javassist/bytecode/analysis/
DAnalyzer.java129 int maxStack = codeAttribute.getMaxStack(); in analyze() local
140 frames[iter.lookAhead()] = firstFrame(method, maxLocals, maxStack); in analyze()
233 private Frame firstFrame(MethodInfo method, int maxLocals, int maxStack) { in firstFrame() argument
236 Frame first = new Frame(maxLocals, maxStack); in firstFrame()
/external/javassist/src/main/javassist/bytecode/stackmap/
DTypedBlock.java147 void initFirstBlock(int maxStack, int maxLocals, String className, in initFirstBlock() argument
155 stackTypes = new TypeData[maxStack]; in initFirstBlock()
DTracer.java39 public Tracer(ClassPool classes, ConstPool cp, int maxStack, int maxLocals, in Tracer() argument
45 stackTypes = new TypeData[maxStack]; in Tracer()
/external/proguard/src/proguard/optimize/evaluation/
DEvaluationShrinker.java1587 int maxStack = codeAttribute.u2maxStack; in initializeNecessary() local
1607 stacksNecessaryAfter[0].length < maxStack) in initializeNecessary()
1609 stacksNecessaryAfter = new boolean[codeLength][maxStack]; in initializeNecessary()
1615 for (int index = 0; index < maxStack; index++) in initializeNecessary()
1623 stacksSimplifiedBefore[0].length < maxStack) in initializeNecessary()
1625 stacksSimplifiedBefore = new boolean[codeLength][maxStack]; in initializeNecessary()
1631 for (int index = 0; index < maxStack; index++) in initializeNecessary()