| 2875 | } |
| 2876 | |
| 2877 | int asCByteCode::InstrWORD(asEBCInstr bc, asWORD param) |
| 2878 | { |
| 2879 | asASSERT(asBCInfo[bc].type == asBCTYPE_W_ARG || |
| 2880 | asBCInfo[bc].type == asBCTYPE_rW_ARG || |
| 2881 | asBCInfo[bc].type == asBCTYPE_wW_ARG); |
| 2882 | asASSERT(asBCInfo[bc].stackInc != 0xFFFF); |
| 2883 | |
| 2884 | if( AddInstruction() < 0 ) |
| 2885 | return 0; |
| 2886 | |
| 2887 | last->op = bc; |
| 2888 | last->wArg[0] = param; |
| 2889 | last->size = asBCTypeSize[asBCInfo[bc].type]; |
| 2890 | last->stackInc = asBCInfo[bc].stackInc; |
| 2891 | |
| 2892 | return last->stackInc; |
| 2893 | } |
| 2894 | |
| 2895 | int asCByteCode::InstrFLOAT(asEBCInstr bc, float param) |
| 2896 | { |
no outgoing calls
no test coverage detected