mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
backtrace.c: use mrb_irep references instead of struct RProc
To reduce GC burden (no mark needed). We use `mrb_irep_incref()` and `mrb_irep_decref()` instead to track irep memory usage; ref #6161
This commit is contained in:
@@ -70,7 +70,7 @@ struct RBacktrace {
|
||||
struct mrb_backtrace_location {
|
||||
mrb_sym method_id;
|
||||
int32_t idx;
|
||||
const struct RProc *proc;
|
||||
const mrb_irep *irep;
|
||||
};
|
||||
|
||||
/* gc */
|
||||
|
||||
Reference in New Issue
Block a user