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

Method PrintCastI2FInstr

Source/SpireCore/CLikeCodeGen.cpp:510–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508 ctx.Body << "))";
509 }
510 void CLikeCodeGen::PrintCastI2FInstr(CodeGenContext & ctx, Int2FloatInstruction * instr)
511 {
512 auto varName = ctx.DefineVariable(instr);
513 ctx.Body << varName;
514 ctx.Body << " = ";
515 PrintCastI2FInstrExpr(ctx, instr);
516 ctx.Body << ";\n";
517 }
518
519 bool CLikeCodeGen::AppearAsExpression(ILInstruction & instr, bool force)
520 {

Callers

nothing calls this directly

Calls 1

DefineVariableMethod · 0.80

Tested by

no test coverage detected