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

Method genCode

src/hx/cppia/Cppia.cpp:5853–5858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5851
5852 #ifdef CPPIA_JIT
5853 void genCode(CppiaCompiler *compiler, const JitVal &inDest, ExprType destType) HXCPP_OVERRIDE
5854 {
5855 object->genCode(compiler, sJitTemp0, etObject);
5856 int offset = sizeof( EnumBase_obj ) + index*sizeof(cpp::Variant);
5857 compiler->genVariantValueTemp0(offset, inDest, destType);
5858 }
5859 #endif
5860};
5861

Callers

nothing calls this directly

Calls 2

genVariantValueTemp0Method · 0.80
genCodeMethod · 0.45

Tested by

no test coverage detected