Package org.objectweb.asm.commons

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


  protected final void compile_util_toDouble() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    mv.visitInsn( Opcodes.L2D );
  }

  protected final void compile_util_toDouble_Scaled() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here


  protected final void compile_util_toFloat() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    mv.visitInsn( Opcodes.L2F );
  }

  protected final void compile_util_toFloat_Scaled() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile_context();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "toDouble", "(JLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;)D" );
    mv.visitInsn( Opcodes.D2F );
  }

  protected final void compile_util_toBigInteger() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    incLocalsOffset( 1 );
    Label l_0 = new Label();
    Label l_1 = new Label();
    mv.visitInsn( Opcodes.LCONST_0 );
    mv.visitInsn( Opcodes.LCMP );
    mv.visitJumpInsn( Opcodes.IFEQ, l_0 );
    mv.visitInsn( Opcodes.ICONST_1 );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
View Full Code Here

    final int loc = localsOffset();
    incLocalsOffset( 1 );
    Label l_0 = new Label();
    Label l_1 = new Label();
    mv.visitInsn( Opcodes.LCONST_0 );
    mv.visitInsn( Opcodes.LCMP );
    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 );
View Full Code Here

    Label l_0 = new Label();
    Label l_1 = new Label();
    mv.visitInsn( Opcodes.LCONST_0 );
    mv.visitInsn( Opcodes.LCMP );
    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 );
View Full Code Here

    mv.visitInsn( Opcodes.LCMP );
    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 );
    mv.visitVarInsn( Opcodes.ILOAD, 0 + loc );
  }
View Full Code Here

  protected final void compile_util_toCharacter() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    mv.visitInsn( Opcodes.L2I );
    mv.visitInsn( Opcodes.I2C );
  }

  protected final void compile_util_toDate() throws CompilerException
  {
View Full Code Here

  protected final void compile_util_toCharacter() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    mv.visitInsn( Opcodes.L2I );
    mv.visitInsn( Opcodes.I2C );
  }

  protected final void compile_util_toDate() throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

  private final void compile_op_PLUS( ExpressionNode _b ) throws CompilerException
  {
    final GeneratorAdapter mv = mv();
    final int loc = localsOffset();
    compile( _b );
    mv.visitInsn( Opcodes.LADD );
  }

  private final void compile_op_MINUS( ExpressionNode _b ) throws CompilerException
  {
    final GeneratorAdapter mv = mv();
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.