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

Method popArgs

dexfixer/src/com/android/dx/cf/code/BaseMachine.java:121–137  ·  view source on GitHub ↗

{@inheritDoc}

(Frame frame, int count)

Source from the content-addressed store, hash-verified

119
120 /** {@inheritDoc} */
121 @Override
122 public final void popArgs(Frame frame, int count) {
123 ExecutionStack stack = frame.getStack();
124
125 clearArgs();
126
127 if (count > args.length) {
128 // Grow args, and add a little extra room to grow even more.
129 args = new TypeBearer[count + 10];
130 }
131
132 for (int i = count - 1; i >= 0; i--) {
133 args[i] = stack.pop();
134 }
135
136 argCount = count;
137 }
138
139 /** {@inheritDoc} */
140 @Override

Callers

nothing calls this directly

Calls 9

clearArgsMethod · 0.95
popMethod · 0.95
getTypeMethod · 0.95
getStackMethod · 0.80
getParameterTypesMethod · 0.80
sizeMethod · 0.65
toHumanMethod · 0.65
getTypeMethod · 0.65

Tested by

no test coverage detected