MCPcopy Create free account
hub / github.com/CPChain/chain / pop

Method pop

core/vm/stack.go:50–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func (st *Stack) pop() (ret *big.Int) {
51 ret = st.data[len(st.data)-1]
52 st.data = st.data[:len(st.data)-1]
53 return
54}
55
56func (st *Stack) len() int {
57 return len(st.data)

Callers 15

getMethod · 0.80
getZeroMethod · 0.80
opAddFunction · 0.80
opSubFunction · 0.80
opMulFunction · 0.80
opDivFunction · 0.80
opSdivFunction · 0.80
opModFunction · 0.80
opSmodFunction · 0.80
opExpFunction · 0.80
opSignExtendFunction · 0.80
opLtFunction · 0.80

Calls

no outgoing calls

Tested by 3

testTwoOperandOpFunction · 0.64
TestByteOpFunction · 0.64
opBenchmarkFunction · 0.64