| 2581 | } |
| 2582 | |
| 2583 | int asCByteCode::InstrW_DW(asEBCInstr bc, asWORD a, asDWORD b) |
| 2584 | { |
| 2585 | asASSERT(asBCInfo[bc].type == asBCTYPE_wW_DW_ARG || |
| 2586 | asBCInfo[bc].type == asBCTYPE_rW_DW_ARG || |
| 2587 | asBCInfo[bc].type == asBCTYPE_W_DW_ARG); |
| 2588 | asASSERT(asBCInfo[bc].stackInc == 0); |
| 2589 | |
| 2590 | if( AddInstruction() < 0 ) |
| 2591 | return 0; |
| 2592 | |
| 2593 | last->op = bc; |
| 2594 | last->wArg[0] = a; |
| 2595 | *((int*) ARG_DW(last->arg)) = b; |
| 2596 | last->size = asBCTypeSize[asBCInfo[bc].type]; |
| 2597 | last->stackInc = asBCInfo[bc].stackInc; |
| 2598 | |
| 2599 | return last->stackInc; |
| 2600 | } |
| 2601 | |
| 2602 | int asCByteCode::InstrSHORT_DW_DW(asEBCInstr bc, short a, asDWORD b, asDWORD c) |
| 2603 | { |
no outgoing calls
no test coverage detected