| 65 | *ioValue = ioValue->substring(start, Dynamic(end)); |
| 66 | } |
| 67 | void genCode(CppiaCompiler *compiler, const JitVal &inDest,ExprType destType) HXCPP_OVERRIDE |
| 68 | { |
| 69 | JitTemp ioValue(compiler,jtString); |
| 70 | JitTemp startVal(compiler,jtInt); |
| 71 | |
| 72 | strVal->genCode(compiler, ioValue, etString); |
| 73 | a0->genCode(compiler, startVal, etInt); |
| 74 | a1->genCode(compiler, sJitArg2, etObject); |
| 75 | compiler->callNative( SUBSTR ? (void *)runSubstr : (void *)runSubstring, ioValue, startVal, sJitArg2.as(jtPointer) ); |
| 76 | compiler->convert(ioValue, etString, inDest, destType); |
| 77 | } |
| 78 | #endif |
| 79 | }; |
| 80 |
nothing calls this directly
no test coverage detected