| 396 | } |
| 397 | |
| 398 | void CLikeCodeGen::PrintAllocVarInstr(CodeGenContext & ctx, AllocVarInstruction * instr) |
| 399 | { |
| 400 | if (dynamic_cast<ILConstOperand*>(instr->Size.Ptr())) |
| 401 | { |
| 402 | ctx.DefineVariable(instr); |
| 403 | } |
| 404 | else |
| 405 | throw InvalidProgramException("size operand of allocVar instr is not an intermediate."); |
| 406 | } |
| 407 | |
| 408 | void CLikeCodeGen::PrintFetchArgInstrExpr(CodeGenContext & ctx, FetchArgInstruction * instr) |
| 409 | { |
nothing calls this directly
no test coverage detected