slang::EvalContext::Frame struct

Represents a single frame in the call stack.


Public variables

std::map<const ValueSymbol*, ConstantValue> temporaries
const SubroutineSymbol* subroutine
The function that is being executed in this frame, if any.
SourceLocation callLocation
The source location of the function call site.
LookupLocation lookupLocation
The lookup location of the function call site.

Variable documentation

std::map<const ValueSymbol*, ConstantValue> slang::EvalContext::Frame::temporaries

A set of temporary values materialized within the stack frame. Uses a map so that the values don't move around in memory.