MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / genCode

Method genCode

src/hx/cppia/Cppia.cpp:517–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515
516 #ifdef CPPIA_JIT
517 void genCode(CppiaCompiler *compiler, const JitVal &inDest, ExprType destType) HXCPP_OVERRIDE
518 {
519 JumpId ifNot = condition->genCompare(compiler,true);
520 doIf->genCode(compiler,inDest,destType);
521 JumpId doneIf = compiler->jump();
522
523 compiler->comeFrom(ifNot);
524 doElse->genCode(compiler,inDest,destType);
525
526 compiler->comeFrom(doneIf);
527 }
528 #endif
529};
530

Callers

nothing calls this directly

Calls 4

jumpMethod · 0.80
comeFromMethod · 0.80
genCompareMethod · 0.45
genCodeMethod · 0.45

Tested by

no test coverage detected