| 142 | } |
| 143 | |
| 144 | void genCode(CppiaCompiler *compiler, const JitVal &inDest,ExprType destType) HXCPP_OVERRIDE |
| 145 | { |
| 146 | if (destType==etString) |
| 147 | { |
| 148 | strVal->genCode(compiler, inDest, destType); |
| 149 | compiler->callNative( (void *)strToCase, inDest.as(jtString) ); |
| 150 | } |
| 151 | else |
| 152 | { |
| 153 | JitTemp tmpVal(compiler,jtString); |
| 154 | strVal->genCode(compiler, tmpVal, etString); |
| 155 | compiler->callNative( (void *)strToCase, tmpVal); |
| 156 | compiler->convert( tmpVal, etString, inDest, destType ); |
| 157 | } |
| 158 | } |
| 159 | #endif |
| 160 | }; |
| 161 |
nothing calls this directly
no test coverage detected