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

Method visitMaxs

src/jvm/clojure/asm/MethodWriter.java:1537–1549  ·  view source on GitHub ↗
(final int maxStack, final int maxLocals)

Source from the content-addressed store, hash-verified

1535 }
1536
1537 @Override
1538 public void visitMaxs(final int maxStack, final int maxLocals) {
1539 if (compute == COMPUTE_ALL_FRAMES) {
1540 computeAllFrames();
1541 } else if (compute == COMPUTE_MAX_STACK_AND_LOCAL) {
1542 computeMaxStackAndLocal();
1543 } else if (compute == COMPUTE_MAX_STACK_AND_LOCAL_FROM_FRAMES) {
1544 this.maxStack = maxRelativeStackSize;
1545 } else {
1546 this.maxStack = maxStack;
1547 this.maxLocals = maxLocals;
1548 }
1549 }
1550
1551 /** Computes all the stack map frames of the method, from scratch. */
1552 private void computeAllFrames() {

Callers 1

readCodeMethod · 0.45

Calls 2

computeAllFramesMethod · 0.95

Tested by

no test coverage detected