| 2707 | } |
| 2708 | |
| 2709 | int asCByteCode::InstrSHORT_QW(asEBCInstr bc, short a, asQWORD b) |
| 2710 | { |
| 2711 | asASSERT(asBCInfo[bc].type == asBCTYPE_wW_QW_ARG); |
| 2712 | asASSERT(asBCInfo[bc].stackInc == 0); |
| 2713 | |
| 2714 | if( AddInstruction() < 0 ) |
| 2715 | return 0; |
| 2716 | |
| 2717 | last->op = bc; |
| 2718 | last->wArg[0] = a; |
| 2719 | *ARG_QW(last->arg) = b; |
| 2720 | last->size = asBCTypeSize[asBCInfo[bc].type]; |
| 2721 | last->stackInc = asBCInfo[bc].stackInc; |
| 2722 | |
| 2723 | return last->stackInc; |
| 2724 | } |
| 2725 | |
| 2726 | int asCByteCode::InstrW_FLOAT(asEBCInstr bc, asWORD a, float b) |
| 2727 | { |