Package org.objectweb.asm.commons

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


    Label l_0 = new Label();
    Label l_1 = new Label();
    mv.visitJumpInsn( Opcodes.IFEQ, l_0 );
    compile_one();
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitInsn( Opcodes.LCONST_0 );
    mv.visitLabel( l_1 );
  }

  protected final void compile_util_fromDate() throws CompilerException
View Full Code Here


    mv.visitJumpInsn( Opcodes.IFEQ, l_0 );
    compile_one();
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitInsn( Opcodes.LCONST_0 );
    mv.visitLabel( l_1 );
  }

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

    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 );
    mv.visitVarInsn( Opcodes.ILOAD, 0 + loc );
  }
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 );
    mv.visitVarInsn( Opcodes.ILOAD, 0 + loc );
  }

  protected final void compile_util_toCharacter() throws CompilerException
View Full Code Here

    mv.visitInsn( Opcodes.LCMP );
    mv.visitJumpInsn( Opcodes.IFGE, l_0 );
    mv.visitVarInsn( Opcodes.LLOAD, 0 + loc );
    mv.visitInsn( Opcodes.LNEG );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitVarInsn( Opcodes.LLOAD, 0 + loc );
    mv.visitLabel( l_1 );
  }

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

    mv.visitVarInsn( Opcodes.LLOAD, 0 + loc );
    mv.visitInsn( Opcodes.LNEG );
    mv.visitJumpInsn( Opcodes.GOTO, l_1 );
    mv.visitLabel( l_0 );
    mv.visitVarInsn( Opcodes.LLOAD, 0 + loc );
    mv.visitLabel( l_1 );
  }

  private final void compile_fun_ACOS( ExpressionNode _a ) throws CompilerException
  {
    final GeneratorAdapter mv = mv();
View Full Code Here

    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, 6 + loc );
    mv.visitVarInsn( Opcodes.ALOAD, 0 + loc );
    mv.visitVarInsn( Opcodes.ALOAD, 1 + loc );
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, 6 + loc );
    mv.visitVarInsn( Opcodes.ALOAD, 0 + loc );
    mv.visitVarInsn( Opcodes.ALOAD, 1 + loc );
    mv.visitVarInsn( Opcodes.ALOAD, 2 + loc );
    mv.visitVarInsn( Opcodes.ALOAD, 3 + loc );
View Full Code Here

    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 );
    compile_context();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "fun_BINOMDIST", "(JJJZLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;)J" );
  }
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_context();
    mv.visitMethodInsn( Opcodes.INVOKESTATIC, "org/formulacompiler/runtime/internal/RuntimeLong_v2", "fun_BINOMDIST", "(JJJZLorg/formulacompiler/runtime/internal/RuntimeLong_v2$Context;)J" );
  }

  private final void compile_fun_CHIDIST( ExpressionNode _a, ExpressionNode _b ) throws CompilerException
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.