/** {@inheritDoc} */ @Override public void set(int idx, TypeBearer type) { throwIfImmutable(); primary.set(idx, type); for (LocalsArray la : secondaries) { if (la != null) { la.set(idx, type); } } }
/** @inheritDoc */ @Override public void set(int idx, TypeBearer type) { throwIfImmutable(); primary.set(idx, type); for (LocalsArray la : secondaries) { if (la != null) { la.set(idx, type); } } }
/** {@inheritDoc} */ @Override public void set(int idx, TypeBearer type) { throwIfImmutable(); primary.set(idx, type); for (LocalsArray la : secondaries) { if (la != null) { la.set(idx, type); } } }
/** @inheritDoc */ @Override public void set(int idx, TypeBearer type) { throwIfImmutable(); primary.set(idx, type); for (LocalsArray la : secondaries) { if (la != null) { la.set(idx, type); } } }
/** {@inheritDoc} */ @Override public void set(int idx, TypeBearer type) { throwIfImmutable(); primary.set(idx, type); for (LocalsArray la : secondaries) { if (la != null) { la.set(idx, type); } } }
/** @inheritDoc */ @Override public void set(int idx, TypeBearer type) { throwIfImmutable(); primary.set(idx, type); for (LocalsArray la : secondaries) { if (la != null) { la.set(idx, type); } } }
/** * Initialize this frame with the method's parameters. Used for the first * frame. * * @param params Type list of method parameters. */ public void initializeWithParameters(StdTypeList params) { int at = 0; int sz = params.size(); for (int i = 0; i < sz; i++) { Type one = params.get(i); locals.set(at, one); at += one.getCategory(); } }
/** * Initialize this frame with the method's parameters. Used for the first * frame. * * @param params Type list of method parameters. */ public void initializeWithParameters(StdTypeList params) { int at = 0; int sz = params.size(); for (int i = 0; i < sz; i++) { Type one = params.get(i); locals.set(at, one); at += one.getCategory(); } }
/** * Initialize this frame with the method's parameters. Used for the first * frame. * * @param params Type list of method parameters. */ public void initializeWithParameters(StdTypeList params) { int at = 0; int sz = params.size(); for (int i = 0; i < sz; i++) { Type one = params.get(i); locals.set(at, one); at += one.getCategory(); } }
/** * Initialize this frame with the method's parameters. Used for the first * frame. * * @param params Type list of method parameters. */ public void initializeWithParameters(StdTypeList params) { int at = 0; int sz = params.size(); for (int i = 0; i < sz; i++) { Type one = params.get(i); locals.set(at, one); at += one.getCategory(); } }
/** * Initialize this frame with the method's parameters. Used for the first * frame. * * @param params Type list of method parameters. */ public void initializeWithParameters(StdTypeList params) { int at = 0; int sz = params.size(); for (int i = 0; i < sz; i++) { Type one = params.get(i); locals.set(at, one); at += one.getCategory(); } }
/** * Initialize this frame with the method's parameters. Used for the first * frame. * * @param params Type list of method parameters. */ public void initializeWithParameters(StdTypeList params) { int at = 0; int sz = params.size(); for (int i = 0; i < sz; i++) { Type one = params.get(i); locals.set(at, one); at += one.getCategory(); } }
/** * Stores the results of the latest operation into the given frame. If * there is a local target (see {@link #localTarget}), then the sole * result is stored to that target; otherwise any results are pushed * onto the stack. * * @param frame {@code non-null;} frame to operate on */ protected final void storeResults(Frame frame) { if (resultCount < 0) { throw new SimException("results never set"); } if (resultCount == 0) { // Nothing to do. return; } if (localTarget != null) { /* * Note: getLocalTarget() doesn't necessarily return * localTarget directly. */ frame.getLocals().set(getLocalTarget()); } else { ExecutionStack stack = frame.getStack(); for (int i = 0; i < resultCount; i++) { stack.push(results[i]); } } }
frame.getLocals().set(getLocalTarget(false)); } else { ExecutionStack stack = frame.getStack();
frame.getLocals().set(getLocalTarget(false)); } else { ExecutionStack stack = frame.getStack();
frame.getLocals().set(getLocalTarget(false)); } else { ExecutionStack stack = frame.getStack();
frame.getLocals().set(getLocalTarget(false)); } else { ExecutionStack stack = frame.getStack();
frame.getLocals().set(getLocalTarget(false)); } else { ExecutionStack stack = frame.getStack();