| 2546 | } |
| 2547 | |
| 2548 | int asCByteCode::InstrW_W(asEBCInstr bc, int a, int b) |
| 2549 | { |
| 2550 | asASSERT(asBCInfo[bc].type == asBCTYPE_wW_rW_ARG || |
| 2551 | asBCInfo[bc].type == asBCTYPE_rW_rW_ARG); |
| 2552 | asASSERT(asBCInfo[bc].stackInc == 0); |
| 2553 | |
| 2554 | if( AddInstruction() < 0 ) |
| 2555 | return 0; |
| 2556 | |
| 2557 | last->op = bc; |
| 2558 | last->wArg[0] = (short)a; |
| 2559 | last->wArg[1] = (short)b; |
| 2560 | last->size = asBCTypeSize[asBCInfo[bc].type]; |
| 2561 | last->stackInc = asBCInfo[bc].stackInc; |
| 2562 | |
| 2563 | return last->stackInc; |
| 2564 | } |
| 2565 | |
| 2566 | int asCByteCode::InstrW_PTR(asEBCInstr bc, short a, void *param) |
| 2567 | { |
no outgoing calls
no test coverage detected