diff options
author | Alan Wu <[email protected]> | 2021-10-06 17:44:19 -0400 |
---|---|---|
committer | Alan Wu <[email protected]> | 2021-10-20 18:19:42 -0400 |
commit | 7c08538aa3a366409784f6a8b7aa013b85633803 (patch) | |
tree | cae00db737ff8fa27ba347f9a2960fe4f7e8fadd /proc.c | |
parent | 884b6f3dbb33ef98fbfe96e7c70ccc8bb5735829 (diff) |
Cleanup diff against upstream. Add comments
I did a `git diff --stat` against upstream and looked at all the files
that are outside of YJIT to come up with these minor changes.
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -347,7 +347,7 @@ rb_binding_alloc(VALUE klass) VALUE obj; rb_binding_t *bind; obj = TypedData_Make_Struct(klass, rb_binding_t, &ruby_binding_data_type, bind); -#if RUBY_DEBUG +#if YJIT_STATS rb_yjit_collect_binding_alloc(); #endif return obj; @@ -614,7 +614,7 @@ bind_local_variable_set(VALUE bindval, VALUE sym, VALUE val) env = VM_ENV_ENVVAL_PTR(vm_block_ep(&bind->block)); } -#if RUBY_DEBUG +#if YJIT_STATS rb_yjit_collect_binding_set(); #endif |