| 2741 | } |
| 2742 | |
| 2743 | int asCByteCode::InstrSHORT(asEBCInstr bc, short param) |
| 2744 | { |
| 2745 | asASSERT(asBCInfo[bc].type == asBCTYPE_rW_ARG || |
| 2746 | asBCInfo[bc].type == asBCTYPE_wW_ARG || |
| 2747 | asBCInfo[bc].type == asBCTYPE_W_ARG); |
| 2748 | asASSERT(asBCInfo[bc].stackInc != 0xFFFF); |
| 2749 | |
| 2750 | if( AddInstruction() < 0 ) |
| 2751 | return 0; |
| 2752 | |
| 2753 | last->op = bc; |
| 2754 | last->wArg[0] = param; |
| 2755 | last->size = asBCTypeSize[asBCInfo[bc].type]; |
| 2756 | last->stackInc = asBCInfo[bc].stackInc; |
| 2757 | |
| 2758 | return last->stackInc; |
| 2759 | } |
| 2760 | |
| 2761 | int asCByteCode::InstrINT(asEBCInstr bc, int param) |
| 2762 | { |
no outgoing calls
no test coverage detected