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

Method emitConstant

src/jvm/clojure/lang/Compiler.java:5780–5783  ·  view source on GitHub ↗
(GeneratorAdapter gen, int id)

Source from the content-addressed store, hash-verified

5778 }
5779
5780 public void emitConstant(GeneratorAdapter gen, int id){
5781 usedConstants = (IPersistentSet) usedConstants.cons(id);
5782 gen.getStatic(objtype, constantName(id), constantType(id));
5783 }
5784
5785
5786 String constantName(int id){

Callers 5

emitVarMethod · 0.95
emitVarValueMethod · 0.95
emitKeywordMethod · 0.95
emitMethod · 0.80
emitMethod · 0.80

Calls 4

constantNameMethod · 0.95
constantTypeMethod · 0.95
getStaticMethod · 0.80
consMethod · 0.65

Tested by

no test coverage detected