| 2823 | } |
| 2824 | |
| 2825 | int asCByteCode::InstrWORD(asEBCInstr bc, asWORD param) |
| 2826 | { |
| 2827 | asASSERT(asBCInfo[bc].type == asBCTYPE_W_ARG || |
| 2828 | asBCInfo[bc].type == asBCTYPE_rW_ARG || |
| 2829 | asBCInfo[bc].type == asBCTYPE_wW_ARG); |
| 2830 | asASSERT(asBCInfo[bc].stackInc != 0xFFFF); |
| 2831 | |
| 2832 | if( AddInstruction() < 0 ) |
| 2833 | return 0; |
| 2834 | |
| 2835 | last->op = bc; |
| 2836 | last->wArg[0] = param; |
| 2837 | last->size = asBCTypeSize[asBCInfo[bc].type]; |
| 2838 | last->stackInc = asBCInfo[bc].stackInc; |
| 2839 | |
| 2840 | return last->stackInc; |
| 2841 | } |
| 2842 | |
| 2843 | int asCByteCode::InstrFLOAT(asEBCInstr bc, float param) |
| 2844 | { |
no outgoing calls
no test coverage detected