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

Method emit

src/jvm/clojure/lang/Compiler.java:1598–1611  ·  view source on GitHub ↗
(C context, ObjExpr objx, GeneratorAdapter gen)

Source from the content-addressed store, hash-verified

1596 }
1597
1598 public void emit(C context, ObjExpr objx, GeneratorAdapter gen){
1599 gen.visitLineNumber(line, gen.mark());
1600
1601 gen.getStatic(Type.getType(c), fieldName, Type.getType(field.getType()));
1602 //if(context != C.STATEMENT)
1603 HostExpr.emitBoxReturn(objx, gen, field.getType());
1604 if(context == C.STATEMENT)
1605 {
1606 gen.pop();
1607 }
1608// gen.push(className);
1609// gen.push(fieldName);
1610// gen.invokeStatic(REFLECTOR_TYPE, getStaticFieldMethod);
1611 }
1612
1613 public boolean hasJavaClass(){
1614 return true;

Callers

nothing calls this directly

Calls 7

getTypeMethod · 0.95
emitBoxReturnMethod · 0.95
markMethod · 0.80
getStaticMethod · 0.80
popMethod · 0.65
visitLineNumberMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected