summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-12-03 14:42:53 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-12-26 20:45:12 +0900
commit989068cf7087bf48f30c7f7c3f9acfa0bfd263ef (patch)
tree8157b9b4a629b90f1d018b8ad12220e4d9a3be63 /debug.c
parent63c9f620cf87fb5fa08cdb7b0b4cc70e787f5cb2 (diff)
internal/imemo.h rework
Arrange contents and eliminate macros, to make them readable. Macro IFUNC_NEW was deleted because there was only one usage.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2711
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/debug.c b/debug.c
index a54be27152..7c32f6dac0 100644
--- a/debug.c
+++ b/debug.c
@@ -19,6 +19,15 @@
#include "symbol.h"
#include "id.h"
+/* This is the only place struct RIMemo is actually used */
+struct RIMemo {
+ VALUE flags;
+ VALUE v0;
+ VALUE v1;
+ VALUE v2;
+ VALUE v3;
+};
+
/* for gdb */
const union {
enum ruby_special_consts special_consts;