Package org.objectweb.asm.commons

Examples of org.objectweb.asm.commons.GeneratorAdapter.visitLabel()


    mv.visitVarInsn( Opcodes.ALOAD, 0 + loc );
    mv.visitInsn( Opcodes.ARRAYLENGTH );
    mv.visitVarInsn( Opcodes.ISTORE, 1 + loc );
    mv.visitInsn( Opcodes.ICONST_0 );
    mv.visitVarInsn( Opcodes.ISTORE, 2 + loc );
    mv.visitLabel( l_1 );
    mv.visitVarInsn( Opcodes.ILOAD, 2 + loc );
    mv.visitVarInsn( Opcodes.ILOAD, 1 + loc );
    mv.visitJumpInsn( Opcodes.IF_ICMPGE, l_0 );
    mv.visitVarInsn( Opcodes.ALOAD, 0 + loc );
    mv.visitVarInsn( Opcodes.ILOAD, 2 + loc );
View Full Code Here


    mv.visitInsn( Opcodes.AALOAD );
    mv.visitVarInsn( Opcodes.ASTORE, 3 + loc );
    _forElement.compile( 3 + loc );
    mv.visitIincInsn( 2 + loc, 1 );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
  }

}
View Full Code Here

    compile( _d );
    mv.visitMethodInsn( Opcodes.INVOKEVIRTUAL, "java/math/BigDecimal", "signum", "()I" );
    mv.visitJumpInsn( Opcodes.IFEQ, l_0 );
    mv.visitInsn( Opcodes.ICONST_1 );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitInsn( Opcodes.ICONST_0 );
    mv.visitLabel( l_1 );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "fun_WEIBULL", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Z)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }
View Full Code Here

    mv.visitJumpInsn( Opcodes.IFEQ, l_0 );
    mv.visitInsn( Opcodes.ICONST_1 );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitInsn( Opcodes.ICONST_0 );
    mv.visitLabel( l_1 );
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "fun_WEIBULL", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;Ljava/math/BigDecimal;Z)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }

  private final void compile_fun_MDETERM( ExpressionNode _a, ExpressionNode _b ) throws CompilerException
View Full Code Here

    compile( _c );
    mv.visitMethodInsn( Opcodes.INVOKEVIRTUAL, "java/math/BigDecimal", "signum", "()I" );
    mv.visitJumpInsn( Opcodes.IFEQ, l_0 );
    mv.visitInsn( Opcodes.ICONST_1 );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitInsn( Opcodes.ICONST_0 );
    mv.visitLabel( l_1 );
    compile_computationMode();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "fun_DAYS360", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;ZLorg/formulacompiler/runtime/ComputationMode;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
View Full Code Here

    mv.visitJumpInsn( Opcodes.IFEQ, l_0 );
    mv.visitInsn( Opcodes.ICONST_1 );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitInsn( Opcodes.ICONST_0 );
    mv.visitLabel( l_1 );
    compile_computationMode();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeBigDecimal_v2", "fun_DAYS360", "(Ljava/math/BigDecimal;Ljava/math/BigDecimal;ZLorg/formulacompiler/runtime/ComputationMode;)Ljava/math/BigDecimal;" );
    compileValueAdjustment();
  }
View Full Code Here

    mv.visitInsn( Opcodes.DCONST_0 );
    mv.visitInsn( Opcodes.DCMPL );
    mv.visitJumpInsn( Opcodes.IFEQ, l_0 );
    mv.visitInsn( Opcodes.ICONST_1 );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitInsn( Opcodes.ICONST_0 );
    mv.visitLabel( l_1 );
    compile_computationMode();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeDouble_v2", "fun_DAYS360", "(DDZLorg/formulacompiler/runtime/ComputationMode;)D" );
  }
View Full Code Here

    mv.visitJumpInsn( Opcodes.IFEQ, l_0 );
    mv.visitInsn( Opcodes.ICONST_1 );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitInsn( Opcodes.ICONST_0 );
    mv.visitLabel( l_1 );
    compile_computationMode();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeDouble_v2", "fun_DAYS360", "(DDZLorg/formulacompiler/runtime/ComputationMode;)D" );
  }

  private final void compile_fun_MONTH( ExpressionNode _a ) throws CompilerException
View Full Code Here

    final ExpressionCompilerForNumbers num = method().numericCompiler();
    num.compileInt( _c );
    mv.visitJumpInsn( Opcodes.IFEQ, l_0 );
    mv.visitInsn( Opcodes.ICONST_1 );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitInsn( Opcodes.ICONST_0 );
    mv.visitLabel( l_1 );
    mv.visitVarInsn( Opcodes.ISTORE, 0 + loc );
    num.compile( _a );
    num.compileConversionTo( Number.class );
View Full Code Here

    mv.visitJumpInsn( Opcodes.IFEQ, l_0 );
    mv.visitInsn( Opcodes.ICONST_1 );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitInsn( Opcodes.ICONST_0 );
    mv.visitLabel( l_1 );
    mv.visitVarInsn( Opcodes.ISTORE, 0 + loc );
    num.compile( _a );
    num.compileConversionTo( Number.class );
    num.compileInt( _b );
    mv.visitVarInsn( Opcodes.ILOAD, 0 + loc );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.