New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark objects in iseqs by disassembly #39

Closed
wants to merge 20 commits into
base: trunk
from
Commits
Jump to file or symbol
Failed to load files and symbols.
+2 鈭2
Diff settings

Always

Just for now

Viewing a subset of changes. View all

Private function should be static, no return in `void`

  • Loading branch information...
tenderlove committed Jan 18, 2018
commit 5fa17335ce41ed7f98d7473720686b15dae5eb29
Copy path View file
4 iseq.c
@@ -166,7 +166,7 @@ iseq_extract_values(const VALUE *code, size_t pos, iseq_value_itr_t * func, void
return len;
}
void
static void
rb_iseq_each_value(const rb_iseq_t *iseq, iseq_value_itr_t * func, void *data)
{
unsigned int size;
@@ -184,7 +184,7 @@ rb_iseq_each_value(const rb_iseq_t *iseq, iseq_value_itr_t * func, void *data)
static void
each_insn_value(void *ctx, VALUE obj)
{
return rb_gc_mark(obj);
rb_gc_mark(obj);
}
void
ProTip! Use n and p to navigate between commits in a pull request.