summaryrefslogtreecommitdiff
path: root/internal/sanitizers.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-06 22:03:39 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-06 22:29:35 -0800
commit290e26c729a083f4461d2497099d9e7eee814228 (patch)
treea8f7086b396cb4c9fcca132707a8f90036e5a0a7 /internal/sanitizers.h
parent7fb36a0054436369aa2868490e2d102d8e75929c (diff)
downloadruby-290e26c729a083f4461d2497099d9e7eee814228.tar.gz
Remove obsoleted MJIT_HEADER macro
Diffstat (limited to 'internal/sanitizers.h')
-rw-r--r--internal/sanitizers.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/sanitizers.h b/internal/sanitizers.h
index 6e2d81137f..7b7d166c74 100644
--- a/internal/sanitizers.h
+++ b/internal/sanitizers.h
@@ -89,8 +89,6 @@
# define VALGRIND_MAKE_MEM_UNDEFINED(p, n) 0
#endif
-#ifndef MJIT_HEADER
-
/*!
* This function asserts that a (continuous) memory region from ptr to size
* being "poisoned". Both read / write access to such memory region are
@@ -185,6 +183,4 @@ asan_unpoison_object(VALUE obj, bool newobj_p)
asan_unpoison_memory_region(ptr, SIZEOF_VALUE, newobj_p);
}
-#endif /* MJIT_HEADER */
-
#endif /* INTERNAL_SANITIZERS_H */