| 100 | } |
| 101 | |
| 102 | JumpId CppiaExpr::genCompare(CppiaCompiler *compiler,bool inReverse,LabelId inLabel) |
| 103 | { |
| 104 | genCode(compiler,sJitTemp0.as(jtInt), etInt); |
| 105 | // inReverse = false -> jump if not 0 |
| 106 | // inReverse = true -> jump if zero |
| 107 | return compiler->compare(inReverse ? cmpI_EQUAL : cmpI_NOT_EQUAL, sJitTemp0, (int)0, inLabel); |
| 108 | } |
| 109 | |
| 110 | #endif |
| 111 |
no test coverage detected