StoreIntValidator
object StoreIntValidator
Methods
visit
fun visit(node: StoreInt, context: FunctionBody): FunctionBody
Validates the given node, and if necessary: its children (recursively, using other ValidationVisitor instances).
Parameters
| Name | Description |
|---|---|
node: StoreInt
|
|
context: FunctionBody
|
ReturnValue
| Name | Description |
|---|---|
FunctionBody
|
Validator of MemoryInstruction.StoreInt nodes.
From the docs:
C.mems[0]must be defined in the context.2^memarg.alignmust not be larger than the bit width oftdivided by8.[i32 t] => [].C.mems[0]must be defined in the context.2^memarg.alignmust not be larger thanN/8.[i32 t] => [].