MemoryInstructionValidator
object MemoryInstructionValidator
Methods
visit
fun visit(node: MemoryInstruction, context: FunctionBody): FunctionBody
Validates the given node, and if necessary: its children (recursively, using other ValidationVisitor instances).
Parameters
Name | Description |
---|---|
node: MemoryInstruction
|
|
context: FunctionBody
|
ReturnValue
Name | Description |
---|---|
FunctionBody
|
Validator of MemoryInstruction nodes by multiplexing into specific validators for each type.
See: LoadIntValidator, StoreIntValidator, LoadFloatValidator, StoreFloatValidator,
SizeValidator, GrowValidator