/** * Constructs an instance. * * @param prototype {@code non-null;} the prototype for the * associated method */ public BaseMachine(Prototype prototype) { if (prototype == null) { throw new NullPointerException("prototype == null"); } this.prototype = prototype; args = new TypeBearer[10]; results = new TypeBearer[6]; clearArgs(); }
/** * Constructs an instance. * * @param prototype {@code non-null;} the prototype for the associated method */ public BaseMachine(Prototype prototype) { if (prototype == null) { throw new NullPointerException("prototype == null"); } this.prototype = prototype; args = new TypeBearer[10]; results = new TypeBearer[6]; clearArgs(); }
/** * Constructs an instance. * * @param prototype {@code non-null;} the prototype for the * associated method */ public BaseMachine(Prototype prototype) { if (prototype == null) { throw new NullPointerException("prototype == null"); } this.prototype = prototype; args = new TypeBearer[10]; results = new TypeBearer[6]; clearArgs(); }
/** * Constructs an instance. * * @param prototype {@code non-null;} the prototype for the * associated method */ public BaseMachine(Prototype prototype) { if (prototype == null) { throw new NullPointerException("prototype == null"); } this.prototype = prototype; args = new TypeBearer[10]; results = new TypeBearer[6]; clearArgs(); }
/** * Constructs an instance. * * @param prototype {@code non-null;} the prototype for the * associated method */ public BaseMachine(Prototype prototype) { if (prototype == null) { throw new NullPointerException("prototype == null"); } this.prototype = prototype; args = new TypeBearer[10]; results = new TypeBearer[6]; clearArgs(); }
/** * Constructs an instance. * * @param prototype {@code non-null;} the prototype for the * associated method */ public BaseMachine(Prototype prototype) { if (prototype == null) { throw new NullPointerException("prototype == null"); } this.prototype = prototype; args = new TypeBearer[10]; results = new TypeBearer[6]; clearArgs(); }
/** {@inheritDoc} */ @Override public final void localArg(Frame frame, int idx) { clearArgs(); args[0] = frame.getLocals().get(idx); argCount = 1; localIndex = idx; }
/** {@inheritDoc} */ public final void localArg(Frame frame, int idx) { clearArgs(); args[0] = frame.getLocals().get(idx); argCount = 1; localIndex = idx; }
/** {@inheritDoc} */ public final void localArg(Frame frame, int idx) { clearArgs(); args[0] = frame.getLocals().get(idx); argCount = 1; localIndex = idx; }
/** {@inheritDoc} */ public final void localArg(Frame frame, int idx) { clearArgs(); args[0] = frame.getLocals().get(idx); argCount = 1; localIndex = idx; }
/** {@inheritDoc} */ @Override public final void localArg(Frame frame, int idx) { clearArgs(); args[0] = frame.getLocals().get(idx); argCount = 1; localIndex = idx; }
/** {@inheritDoc} */ @Override public final void popArgs(Frame frame, int count) { ExecutionStack stack = frame.getStack(); clearArgs(); if (count > args.length) { // Grow args, and add a little extra room to grow even more. args = new TypeBearer[count + 10]; } for (int i = count - 1; i >= 0; i--) { args[i] = stack.pop(); } argCount = count; }
/** {@inheritDoc} */ public final void localArg(Frame frame, int idx) { clearArgs(); args[0] = frame.getLocals().get(idx); argCount = 1; localIndex = idx; }
/** {@inheritDoc} */ public final void popArgs(Frame frame, int count) { ExecutionStack stack = frame.getStack(); clearArgs(); if (count > args.length) { // Grow args, and add a little extra room to grow even more. args = new TypeBearer[count + 10]; } for (int i = count - 1; i >= 0; i--) { args[i] = stack.pop(); } argCount = count; }
/** {@inheritDoc} */ public final void popArgs(Frame frame, int count) { ExecutionStack stack = frame.getStack(); clearArgs(); if (count > args.length) { // Grow args, and add a little extra room to grow even more. args = new TypeBearer[count + 10]; } for (int i = count - 1; i >= 0; i--) { args[i] = stack.pop(); } argCount = count; }
/** {@inheritDoc} */ public final void popArgs(Frame frame, int count) { ExecutionStack stack = frame.getStack(); clearArgs(); if (count > args.length) { // Grow args, and add a little extra room to grow even more. args = new TypeBearer[count + 10]; } for (int i = count - 1; i >= 0; i--) { args[i] = stack.pop(); } argCount = count; }
/** {@inheritDoc} */ @Override public final void popArgs(Frame frame, int count) { ExecutionStack stack = frame.getStack(); clearArgs(); if (count > args.length) { // Grow args, and add a little extra room to grow even more. args = new TypeBearer[count + 10]; } for (int i = count - 1; i >= 0; i--) { args[i] = stack.pop(); } argCount = count; }
/** {@inheritDoc} */ public final void popArgs(Frame frame, int count) { ExecutionStack stack = frame.getStack(); clearArgs(); if (count > args.length) { // Grow args, and add a little extra room to grow even more. args = new TypeBearer[count + 10]; } for (int i = count - 1; i >= 0; i--) { args[i] = stack.pop(); } argCount = count; }