** Convert a BinOpr to a tag method (ORDER OPR - ORDER TM) */
| 1460 | ** Convert a BinOpr to a tag method (ORDER OPR - ORDER TM) |
| 1461 | */ |
| 1462 | l_sinline TMS binopr2TM (BinOpr opr) { |
| 1463 | lua_assert(OPR_ADD <= opr && opr <= OPR_SHR); |
| 1464 | return cast(TMS, (cast_int(opr) - cast_int(OPR_ADD)) + cast_int(TM_ADD)); |
| 1465 | } |
| 1466 | |
| 1467 | |
| 1468 | /* |
no outgoing calls
no test coverage detected