Examples of go_to()


Examples of anvil.codec.Code.go_to()

  {
    getChild(0).compile(context, GET_BOOLEAN);
    Code code = context.getCode();
    Source isfalse = code.if_eq();
    getChild(1).compile(context, operation);
    Source out = code.go_to();
    code.popop();
    isfalse.bind();
    getChild(2).compile(context, operation);
    out.bind();
  }
View Full Code Here

Examples of anvil.codec.Code.go_to()

    if (operation == GET_BOOLEAN) {
      code.iconst(false);
    } else {
      code.getstatic(pool.addFieldRef(context.TYPE_ANY, "FALSE", "Lanvil/core/Any;"));
    }
    Source toend = code.go_to();
    notequal.bind();
    if (operation == GET_BOOLEAN) {
      code.iconst(true);
    } else {
      code.getstatic(pool.addFieldRef(context.TYPE_ANY, "TRUE", "Lanvil/core/Any;"));
View Full Code Here

Examples of anvil.codec.Code.go_to()

      }
    }

    Source skip = null;
    if (_action != null) {
      skip = code.go_to();
    }

    Target start = code.getTarget();
    _startscope = code.getSource();
    _endscope = code.getSource();
View Full Code Here

Examples of anvil.codec.Code.go_to()

        break;
      }
    }

    _statement.compile(context);
    code.go_to(_startscope);
    _endscope.bind();
    _startscope.bind(start);
  }
 
View Full Code Here

Examples of anvil.codec.Code.go_to()

        break;       
      case GREATER:
        code.if_le(isfalse);
        break;       
      default:
        code.go_to(isfalse);
      }
    }
    code.pop();
    code.iconst(true);
    Source toend = code.go_to();
View Full Code Here

Examples of anvil.codec.Code.go_to()

        code.go_to(isfalse);
      }
    }
    code.pop();
    code.iconst(true);
    Source toend = code.go_to();
    isfalse.bind();
    code.pop();
    code.iconst(false);
    toend.bind();
    if (operation != GET_BOOLEAN) {
View Full Code Here

Examples of org.jruby.compiler.impl.SkinnyMethodAdapter.go_to()

                    // all done with lookup attempts, pop any result and release monitor
                    mv.label(noStore);
                    mv.pop();
                    mv.getstatic(pathName, "rubyClass", ci(RubyClass.class));
                    mv.monitorexit();
                    mv.go_to(recheckMethod);

                    // end of try block
                    mv.label(tryEnd);

                    // finally block to release monitor
View Full Code Here

Examples of org.jruby.compiler.impl.SkinnyMethodAdapter.go_to()

                    mv.aload(0);
                    mv.getfield(pathName, "self", ci(IRubyObject.class));
                    mv.ldc(simpleName);
                    coerceArgumentsToRuby(mv, paramTypes, pathName);
                    mv.invokestatic(p(RuntimeHelpers.class), "invokeMethodMissing", sig(IRubyObject.class, IRubyObject.class, String.class, IRubyObject[].class));
                    mv.go_to(end);
               
                    // perform the dispatch
                    mv.label(dispatch);
                    // get current context
                    mv.getstatic(pathName, "ruby", ci(Ruby.class));
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.