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

Method emit

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

Source from the content-addressed store, hash-verified

4231 }
4232
4233 public void emit(C context, ObjExpr objx, GeneratorAdapter gen){
4234 if(isProtocol)
4235 {
4236 gen.visitLineNumber(line, gen.mark());
4237 emitProto(context,objx,gen);
4238 }
4239
4240 else
4241 {
4242 fexpr.emit(C.EXPRESSION, objx, gen);
4243 gen.visitLineNumber(line, gen.mark());
4244 gen.checkCast(IFN_TYPE);
4245 emitArgsAndCall(0, context,objx,gen);
4246 }
4247 if(context == C.STATEMENT)
4248 gen.pop();
4249 }
4250
4251 public void emitProto(C context, ObjExpr objx, GeneratorAdapter gen){
4252 Label onLabel = gen.newLabel();

Callers

nothing calls this directly

Calls 7

emitProtoMethod · 0.95
emitArgsAndCallMethod · 0.95
markMethod · 0.80
checkCastMethod · 0.80
emitMethod · 0.65
popMethod · 0.65
visitLineNumberMethod · 0.45

Tested by

no test coverage detected