diff options
author | Peter Zhu <[email protected]> | 2024-12-18 12:01:09 -0500 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-12-19 09:14:34 -0500 |
commit | a58675386c10f4183116056bc0cf289548883ac0 () | |
tree | cc978f9016bca402ca068218c0f51c349db7e07f /vm_method.c | |
parent | fcd44eee09f0a26c7711732bc8782fb8afa924f2 (diff) |
Prefix asan_poison_object with rb
Notes: Merged: https://.com/ruby/ruby/pull/12385
-rw-r--r-- | vm_method.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -314,8 +314,8 @@ invalidate_all_refinement_cc(void *vstart, void *vend, size_t stride, void *data { VALUE v = (VALUE)vstart; for (; v != (VALUE)vend; v += stride) { - void *ptr = asan_poisoned_object_p(v); - asan_unpoison_object(v, false); if (RBASIC(v)->flags) { // liveness check if (imemo_type_p(v, imemo_callcache)) { @@ -327,7 +327,7 @@ invalidate_all_refinement_cc(void *vstart, void *vend, size_t stride, void *data } if (ptr) { - asan_poison_object(v); } } return 0; // continue to iteration |