diff options
author | John Hawthorn <john@hawthorn.email> | 2021-07-27 23:41:29 -0700 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:38 -0400 |
commit | d78ea4abec1d030af2c5d99b03b3b4d959bd138c (patch) | |
tree | 0947dcb40397599770228a2a5e3c58873dc699b2 /yjit_core.h | |
parent | a02002dc4f051515c0b65c17b2ed797bac454b56 (diff) |
Implement verify_ctx for debugging
Diffstat (limited to 'yjit_core.h')
-rw-r--r-- | yjit_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yjit_core.h b/yjit_core.h index c4bbf05833..8530225cd5 100644 --- a/yjit_core.h +++ b/yjit_core.h @@ -270,6 +270,8 @@ void ctx_upgrade_opnd_type(ctx_t* ctx, insn_opnd_t opnd, val_type_t type); void ctx_set_local_type(ctx_t* ctx, size_t idx, val_type_t type); void ctx_clear_local_types(ctx_t* ctx); int ctx_diff(const ctx_t* src, const ctx_t* dst); +int type_diff(val_type_t src, val_type_t dst); +const char *yjit_type_name(val_type_t type); temp_type_mapping_t ctx_get_opnd_mapping(const ctx_t* ctx, insn_opnd_t opnd); void ctx_set_opnd_mapping(ctx_t* ctx, insn_opnd_t opnd, temp_type_mapping_t type_mapping); |