| java.lang.Object gnu.mapping.CallContext
CallContext | public class CallContext implements Runnable(Code) | | A procedure activation stack (when compiled with explicit stacks).
|
ARG_IN_IVALUE1 | final static int ARG_IN_IVALUE1(Code) | | |
ARG_IN_IVALUE2 | final static int ARG_IN_IVALUE2(Code) | | |
ARG_IN_VALUE1 | final static int ARG_IN_VALUE1(Code) | | |
ARG_IN_VALUE2 | final static int ARG_IN_VALUE2(Code) | | |
ARG_IN_VALUE3 | final static int ARG_IN_VALUE3(Code) | | |
ARG_IN_VALUE4 | final static int ARG_IN_VALUE4(Code) | | |
ARG_IN_VALUES_ARRAY | final static int ARG_IN_VALUES_ARRAY(Code) | | |
consumer | public Consumer consumer(Code) | | Function results are written to this Consumer.
This may point to vstack - or some other Consumer.
|
count | public int count(Code) | | Number of actual arguments.
|
ivalue1 | public int ivalue1(Code) | | |
ivalue2 | public int ivalue2(Code) | | |
next | public int next(Code) | | Index of next argument.
This is used by methods like getNextArg, used by callees.
|
pc | public int pc(Code) | | The program location in the current procedure.
|
value1 | public Object value1(Code) | | Used for passing parameters. (Will be replaced by vstack.)
|
vstack | public ValueStack vstack(Code) | | Default place for function results.
In the future, function arguments will also use vstack.
|
where | int where(Code) | | Encoding of where the arguments are.
Each argument uses 4 bits.
Arguments beyond 8 are implicitly ARG_IN_VALUES_ARRAY.
|
getNextArg | public Object getNextArg()(Code) | | Get the next incoming argument.
Throw WrongArguments if there are no more arguments.
|
getNextArg | public Object getNextArg(Object defaultValue)(Code) | | Get the next incoming argument.
Return defaultValue if there are no more arguments.
|
lastArg | public void lastArg()(Code) | | Note that we are done with the input arguments.
Throw WrongArguments if there are unprocessed arguments.
|
runUntilValue | final public Object runUntilValue() throws Throwable(Code) | | Run until no more continuations, returning final result.
|
runUntilValue | final public void runUntilValue(Consumer out) throws Throwable(Code) | | Run until no more continuations, sending result to a COnsumer.
|
setArgs | public void setArgs()(Code) | | |
writeValue | public void writeValue(Object value)(Code) | | Write values (of function result) to current consumer.
|
|
|