MCPcopy Index your code
hub / github.com/chain/Core / popInt64

Method popInt64

protocol/vm/vm.go:182–189  ·  view source on GitHub ↗
(deferred bool)

Source from the content-addressed store, hash-verified

180}
181
182func (vm *virtualMachine) popInt64(deferred bool) (int64, error) {
183 bytes, err := vm.pop(deferred)
184 if err != nil {
185 return 0, err
186 }
187 n, err := AsInt64(bytes)
188 return n, err
189}
190
191func (vm *virtualMachine) top() ([]byte, error) {
192 if len(vm.dataStack) == 0 {

Callers 15

op1AddFunction · 0.80
op1SubFunction · 0.80
op2MulFunction · 0.80
op2DivFunction · 0.80
opNegateFunction · 0.80
opAbsFunction · 0.80
opNotFunction · 0.80
op0NotEqualFunction · 0.80
opAddFunction · 0.80
opSubFunction · 0.80
opMulFunction · 0.80
opDivFunction · 0.80

Calls 2

popMethod · 0.95
AsInt64Function · 0.85

Tested by

no test coverage detected