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

Method genCode

src/hx/cppia/Cppia.cpp:7095–7105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7093
7094 #ifdef CPPIA_JIT
7095 void genCode(CppiaCompiler *compiler, const JitVal &inDest, ExprType destType) HXCPP_OVERRIDE
7096 {
7097 left->genCode(compiler, sJitTemp0, etInt);
7098 if (destType==etInt)
7099 compiler->bitNot(inDest.as(jtInt), sJitTemp0 );
7100 else
7101 {
7102 compiler->bitNot( sJitTemp0.as(jtInt), sJitTemp0.as(jtInt) );
7103 compiler->convert(sJitTemp0, etInt, inDest, destType);
7104 }
7105 }
7106 #endif
7107};
7108

Callers

nothing calls this directly

Calls 4

bitNotMethod · 0.80
asMethod · 0.80
convertMethod · 0.80
genCodeMethod · 0.45

Tested by

no test coverage detected