MCPcopy Create free account
hub / github.com/csyonghe/Spire / PrintFetchArgInstr

Method PrintFetchArgInstr

Source/SpireCore/CLikeCodeGen.cpp:413–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411 }
412
413 void CLikeCodeGen::PrintFetchArgInstr(CodeGenContext & ctx, FetchArgInstruction * instr)
414 {
415 if (instr->ArgId == 0)
416 {
417 ctx.ReturnVarName = ctx.DefineVariable(instr);
418 }
419 }
420
421 void CLikeCodeGen::PrintSelectInstrExpr(CodeGenContext & ctx, SelectInstruction * instr)
422 {

Callers

nothing calls this directly

Calls 1

DefineVariableMethod · 0.80

Tested by

no test coverage detected