MCPcopy Create free account
hub / github.com/chain/txvm / popValue

Method popValue

protocol/txvm/values.go:116–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114}
115
116func (vm *VM) popValue() *value {
117 item := vm.pop()
118 v, ok := item.(*value)
119 if !ok {
120 panic(errors.WithData(ErrType, "want", "Value", "got", fmt.Sprintf("%T", item)))
121 }
122 return v
123}
124
125func (vm *VM) popZeroValue() *value {
126 v := vm.popValue()

Callers 4

popZeroValueMethod · 0.95
opSplitFunction · 0.80
opMergeFunction · 0.80
opRetireFunction · 0.80

Calls 2

popMethod · 0.95
WithDataFunction · 0.92

Tested by

no test coverage detected