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

Method InstrDWORD

sdk/angelscript/source/as_bytecode.cpp:2777–2791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2775}
2776
2777int asCByteCode::InstrDWORD(asEBCInstr bc, asDWORD param)
2778{
2779 asASSERT(asBCInfo[bc].type == asBCTYPE_DW_ARG);
2780 asASSERT(asBCInfo[bc].stackInc != 0xFFFF);
2781
2782 if( AddInstruction() < 0 )
2783 return 0;
2784
2785 last->op = bc;
2786 *ARG_DW(last->arg) = param;
2787 last->size = asBCTypeSize[asBCInfo[bc].type];
2788 last->stackInc = asBCInfo[bc].stackInc;
2789
2790 return last->stackInc;
2791}
2792
2793int asCByteCode::InstrPTR(asEBCInstr bc, void *param)
2794{

Callers 12

PrepareArgumentMethod · 0.80
CompileIfStatementMethod · 0.80
CompileForStatementMethod · 0.80
CompileWhileStatementMethod · 0.80
CompileRefCastMethod · 0.80
CompileConditionMethod · 0.80
CompileConstructCallMethod · 0.80
MakeFunctionCallMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected