diff options
author | Alan Wu <[email protected]> | 2021-01-26 15:21:47 -0500 |
---|---|---|
committer | Alan Wu <[email protected]> | 2021-10-20 18:19:27 -0400 |
commit | b7f93e81dfe6864273707172be92896b54b6053e () | |
tree | 0e04e68ed0d2e472a5819de3e5acbc7a3051e661 /vm_insnhelper.h | |
parent | 36232a48a63923e6d3bd3ccad30a12a02b20e89b (diff) |
Implement --ujit-stats and instructoin counting
VM and ujit instruction counting in debug builds. shopify/ruby#19
-rw-r--r-- | vm_insnhelper.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -25,6 +25,11 @@ MJIT_SYMBOL_EXPORT_END #define COLLECT_USAGE_OPERAND(insn, n, op) vm_collect_usage_operand((insn), (n), ((VALUE)(op))) #define COLLECT_USAGE_REGISTER(reg, s) vm_collect_usage_register((reg), (s)) #else #define COLLECT_USAGE_INSN(insn) /* none */ #define COLLECT_USAGE_OPERAND(insn, n, op) /* none */ |