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

Method swap

src/jvm/clojure/asm/commons/GeneratorAdapter.java:676–678  ·  view source on GitHub ↗

Generates a SWAP instruction.

()

Source from the content-addressed store, hash-verified

674
675 /** Generates a SWAP instruction. */
676 public void swap() {
677 mv.visitInsn(Opcodes.SWAP);
678 }
679
680 /**
681 * Generates the instructions to swap the top two stack values.

Callers 1

boxMethod · 0.95

Calls 7

dupX2Method · 0.95
popMethod · 0.95
dup2X1Method · 0.95
pop2Method · 0.95
dup2X2Method · 0.95
getSizeMethod · 0.80
visitInsnMethod · 0.45

Tested by

no test coverage detected