aboutsummaryrefslogtreecommitdiffstats
path: root/insnhelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'insnhelper.h')
-rw-r--r--insnhelper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/insnhelper.h b/insnhelper.h
index 3c17bbf7f8..8ae9599423 100644
--- a/insnhelper.h
+++ b/insnhelper.h
@@ -96,6 +96,8 @@
#define GET_GLOBAL(entry) rb_gvar_get((struct global_entry*)entry)
#define SET_GLOBAL(entry, val) rb_gvar_set((struct global_entry*)entry, val)
+#define GET_CONST_INLINE_CACHE(dst) ((IC) * (GET_PC() + (dst) + 1))
+
/**********************************************************/
/* deal with values */
/**********************************************************/