MCPcopy Create free account
hub / github.com/anjo76/angelscript / InstrW_W

Method InstrW_W

sdk/angelscript/source/as_bytecode.cpp:2548–2564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2546}
2547
2548int 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
2566int asCByteCode::InstrW_PTR(asEBCInstr bc, short a, void *param)
2567{

Callers 8

PerformAssignmentMethod · 0.80
CompileRefCastMethod · 0.80
ConvertToTempVariableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected