Examples of registerString()


Examples of railo.transformer.bytecode.Page.registerString()

     
      if(externalizeStringGTE>-1 && str.length()>externalizeStringGTE && StringUtil.indexOfIgnoreCase(bc.getMethod().getName(),"call")!=-1) {
        try{
          GeneratorAdapter ga = bc.getAdapter();
          Page page = bc.getPage();
          Range range= page.registerString(bc,str);
          ga.visitVarInsn(Opcodes.ALOAD, 0);
          ga.visitVarInsn(Opcodes.ALOAD, 1);
          ga.push(range.from);
          ga.push(range.to);
          ga.visitMethodInsn(Opcodes.INVOKEVIRTUAL, bc.getClassName(), "str", "(Lrailo/runtime/PageContext;II)Ljava/lang/String;");
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.