summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index f9b6181f54..511e324a29 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -905,6 +905,12 @@ typedef struct rb_trace_arg_struct {
ID id;
VALUE klass;
VALUE data;
+
+ int klass_solved;
+
+ /* calc from cfp */
+ int line;
+ VALUE file;
} rb_trace_arg_t;
void rb_threadptr_exec_event_hooks(rb_trace_arg_t *trace_arg);
@@ -920,6 +926,8 @@ void rb_threadptr_exec_event_hooks(rb_trace_arg_t *trace_arg);
trace_arg.id = (id_); \
trace_arg.klass = (klass_); \
trace_arg.data = (data_); \
+ trace_arg.file = Qundef; \
+ trace_arg.klass_solved = 0; \
rb_threadptr_exec_event_hooks(&trace_arg); \
} \
} \