MCPcopy Create free account
hub / github.com/Youlor/unpacker / pop

Method pop

dexfixer/src/com/android/dx/cf/code/ExecutionStack.java:250–260  ·  view source on GitHub ↗

Pops the top element off of the stack. @return non-null; the type formerly on the top of the stack @throws SimException thrown if the stack is empty

()

Source from the content-addressed store, hash-verified

248 * @throws SimException thrown if the stack is empty
249 */
250 public TypeBearer pop() {
251 throwIfImmutable();
252
253 TypeBearer result = peek(0);
254
255 stack[stackPtr - 1] = null;
256 local[stackPtr - 1] = false;
257 stackPtr -= result.getType().getCategory();
258
259 return result;
260 }
261
262 /**
263 * Changes an element already on a stack. This method is useful in limited

Callers 1

popArgsMethod · 0.95

Calls 4

peekMethod · 0.95
getTypeMethod · 0.95
throwIfImmutableMethod · 0.80
getCategoryMethod · 0.45

Tested by

no test coverage detected