Search in sources :

Example 1 with ArrayLength

use of org.candle.decompiler.intermediate.expression.ArrayLength in project candle-decompiler by bradsdavis.

the class MethodIntermediateVisitor method visitARRAYLENGTH.

// array length instruction
public void visitARRAYLENGTH(ARRAYLENGTH instruction) {
    Expression target = context.getExpressions().pop();
    ArrayLength arrayLength = new ArrayLength(context.getCurrentInstruction(), target);
    context.getExpressions().push(arrayLength);
}
Also used : TypedExpression(org.candle.decompiler.intermediate.expression.TypedExpression) Expression(org.candle.decompiler.intermediate.expression.Expression) ArrayLength(org.candle.decompiler.intermediate.expression.ArrayLength)

Aggregations

ArrayLength (org.candle.decompiler.intermediate.expression.ArrayLength)1 Expression (org.candle.decompiler.intermediate.expression.Expression)1 TypedExpression (org.candle.decompiler.intermediate.expression.TypedExpression)1