AvailVariableAccessNote

class AvailVariableAccessNote

An AvailVariableAccessNote is a helper class used during data flow analysis. As it progresses forward through a block's AvailInstructions, it tracks, for a particular variable, the most recent instruction which pushes that variable itself on the stack. It also tracks the most recent instruction which pushes that variable's value on the stack.

Author

Mark van Gulik

Constructors

Link copied to clipboard
fun AvailVariableAccessNote()

Properties

Link copied to clipboard
var previousGet: AvailGetVariable? = null

The most recently encountered instruction, if any, that pushes the variable's value onto the stack.

Link copied to clipboard
var previousPush: AvailPushVariable? = null

The most recently encountered instruction, if any, that pushes the variable itself onto the stack.