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

Method genCode

src/hx/cppia/CppiaFunction.cpp:579–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577
578#ifdef CPPIA_JIT
579void ScriptCallable::genCode(CppiaCompiler *compiler,const JitVal &inDest,ExprType destType)
580{
581 compiler->move(sJitCtxFrame, sJitFrame);
582 compiler->callNative( (void *)createClosure, sJitCtx, (void *)this );
583 compiler->convertReturnReg(etObject, inDest, destType);
584}
585#endif
586
587

Callers 2

genArgsMethod · 0.45
compileMethod · 0.45

Calls 3

moveMethod · 0.80
callNativeMethod · 0.80
convertReturnRegMethod · 0.80

Tested by

no test coverage detected