MCPcopy Index your code
hub / github.com/clojure/clojure / visitFrameEnd

Method visitFrameEnd

src/jvm/clojure/asm/MethodWriter.java:1839–1849  ·  view source on GitHub ↗

Ends the visit of #currentFrame by writing it in the StackMapTable entries and by updating the StackMapTable number_of_entries (except if the current frame is the first one, which is implicit in StackMapTable). Then resets #currentFrame to null .

()

Source from the content-addressed store, hash-verified

1837 * which is implicit in StackMapTable). Then resets {@link #currentFrame} to <tt>null</tt>.
1838 */
1839 void visitFrameEnd() {
1840 if (previousFrame != null) {
1841 if (stackMapTableEntries == null) {
1842 stackMapTableEntries = new ByteVector();
1843 }
1844 putFrame();
1845 ++stackMapTableNumberOfEntries;
1846 }
1847 previousFrame = currentFrame;
1848 currentFrame = null;
1849 }
1850
1851 /** Compresses and writes {@link #currentFrame} in a new StackMapTable entry. */
1852 private void putFrame() {

Callers 3

visitFrameMethod · 0.95
computeAllFramesMethod · 0.95
acceptMethod · 0.80

Calls 1

putFrameMethod · 0.95

Tested by

no test coverage detected