[][src]Function wasmi_validation::func::top_label

pub fn top_label(frame_stack: &StackWithLimit<BlockFrame>) -> &BlockFrame

Returns the top most frame from the frame stack.

Panics

Can be called only when the frame stack is not empty: that is, it is ok to call this function after initialization of the validation and until the validation reached the latest End operator.