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

Method emitUnboxed

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

Source from the content-addressed store, hash-verified

1469 }
1470
1471 public void emitUnboxed(C context, ObjExpr objx, GeneratorAdapter gen){
1472 if(targetClass != null && field != null)
1473 {
1474 target.emit(C.EXPRESSION, objx, gen);
1475 gen.visitLineNumber(line, gen.mark());
1476 gen.checkCast(getType(targetClass));
1477 gen.getField(getType(targetClass), fieldName, Type.getType(field.getType()));
1478 }
1479 else
1480 throw new UnsupportedOperationException("Unboxed emit of unknown member");
1481 }
1482
1483 public void emit(C context, ObjExpr objx, GeneratorAdapter gen){
1484 if(targetClass != null && field != null)

Callers

nothing calls this directly

Calls 7

getTypeMethod · 0.95
markMethod · 0.80
checkCastMethod · 0.80
emitMethod · 0.65
visitLineNumberMethod · 0.45
getTypeMethod · 0.45
getFieldMethod · 0.45

Tested by

no test coverage detected