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

Method InstrSHORT_QW

sdk/angelscript/source/as_bytecode.cpp:2709–2724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2707}
2708
2709int 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
2726int asCByteCode::InstrW_FLOAT(asEBCInstr bc, asWORD a, float b)
2727{

Callers 1

ConvertToVariableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected