diff options
author | Takashi Kokubun <[email protected]> | 2019-12-01 00:56:27 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2019-12-01 00:58:47 -0800 |
commit | a19d625e667024fe27dcee04dd748e914bc24762 (patch) | |
tree | 5ca8c6cec0d19cb54e8c2643d8736216bb6fd2e2 /mjit.h | |
parent | bdc62dfc8ecffd27dd5ad6756cce88eac5c993f5 (diff) |
Allow specifying arbitrary MJIT flags by --jit-debug
This is a secret feature for me. It's only for testing and any behavior
with this flag override is unsupported.
I needed this because I sometimes want to add debug options but do not
want to disable optimizations, for using Linux perf.
Diffstat (limited to 'mjit.h')
-rw-r--r-- | mjit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -43,6 +43,8 @@ struct mjit_options { // Disable compiler optimization and add debug symbols. It can be // very slow. char debug; + // Add arbitrary cflags. + char* debug_flags; // If not 0, all ISeqs are synchronously compiled. For testing. unsigned int wait; // Number of calls to trigger JIT compilation. For testing. |