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

Method readLabel

src/jvm/clojure/asm/ClassReader.java:2441–2446  ·  view source on GitHub ↗

Returns the label corresponding to the given bytecode offset. The default implementation of this method creates a label for the given offset if it has not been already created. @param bytecodeOffset a bytecode offset in a method. @param labels the already created labels, indexed by their offset. If

(final int bytecodeOffset, final Label[] labels)

Source from the content-addressed store, hash-verified

2439 * @return a non null Label, which must be equal to labels[bytecodeOffset].
2440 */
2441 protected Label readLabel(final int bytecodeOffset, final Label[] labels) {
2442 if (labels[bytecodeOffset] == null) {
2443 labels[bytecodeOffset] = new Label();
2444 }
2445 return labels[bytecodeOffset];
2446 }
2447
2448 /**
2449 * Creates a label without the {@link Label#FLAG_DEBUG_ONLY} flag set, for the given bytecode

Callers 2

createLabelMethod · 0.95
createDebugLabelMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected