MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / pop

Method pop

include/runtime/stackmgr.h:88–92  ·  view source on GitHub ↗

Unsafe pop and return the top entry.

Source from the content-addressed store, hash-verified

86
87 /// Unsafe pop and return the top entry.
88 Value pop() {
89 Value V = std::move(ValueStack.back());
90 ValueStack.pop_back();
91 return V;
92 }
93
94 /// Unsafe pop and return the top N entries.
95 std::vector<Value> pop(uint32_t N) {

Callers 15

invokeMethod · 0.80
instantiateMethod · 0.80
instantiateMethod · 0.80
instantiateMethod · 0.80
instantiateMethod · 0.80
runStructNewOpMethod · 0.80
runStructSetOpMethod · 0.80
runArrayNewOpMethod · 0.80
runArrayNewDataOpMethod · 0.80
runArrayNewElemOpMethod · 0.80
runArrayGetOpMethod · 0.80
runArraySetOpMethod · 0.80

Calls 3

backMethod · 0.80
eraseMethod · 0.80
endMethod · 0.45

Tested by 1

callWasmFunction · 0.64