MemoryInstructionValidator

MemoryInstructionValidator

object MemoryInstructionValidator

Validator of MemoryInstruction nodes by multiplexing into specific validators for each type.

See: LoadIntValidator, StoreIntValidator, LoadFloatValidator, StoreFloatValidator,

SizeValidator, GrowValidator

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