Line | Count | Source |
1 | /* The number of runs we do to log what we see. */ | |
2 | 839k | #define MVM_SPESH_LOG_RUNS 8 |
3 | ||
4 | /* Information about an inserted guard instruction due to logging. */ | |
5 | struct MVMSpeshLogGuard { | |
6 | /* Instruction and containing basic block. */ | |
7 | MVMSpeshIns *ins; | |
8 | MVMSpeshBB *bb; | |
9 | ||
10 | /* Have we made use of the gurad? */ | |
11 | MVMuint32 used; | |
12 | }; | |
13 | ||
14 | void MVM_spesh_log_add_logging(MVMThreadContext *tc, MVMSpeshGraph *g, MVMint32 osr); |