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

Method genCode

src/hx/cppia/StringBuiltin.cpp:311–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309 return (inValue->split(*sep)).mPtr;
310 }
311 void genCode(CppiaCompiler *compiler, const JitVal &inDest,ExprType destType) HXCPP_OVERRIDE
312 {
313 JitTemp value(compiler,jtString);
314 JitTemp sep(compiler,jtString);
315
316 strVal->genCode(compiler, value, etString);
317 a0->genCode(compiler, sep, etString);
318 compiler->callNative( (void *)runSplit, value, sep );
319 compiler->convertReturnReg(etObject, inDest, destType);
320 }
321 #endif
322
323};

Callers 5

genCodeMethod · 0.45
genCodeMethod · 0.45
genCodeMethod · 0.45
genCodeMethod · 0.45
genCodeMethod · 0.45

Calls 2

callNativeMethod · 0.80
convertReturnRegMethod · 0.80

Tested by

no test coverage detected