summaryrefslogtreecommitdiff
path: root/include/ruby/internal/core/rbasic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/internal/core/rbasic.h')
-rw-r--r--include/ruby/internal/core/rbasic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/core/rbasic.h b/include/ruby/internal/core/rbasic.h
index 76333fd78e..2b578b663c 100644
--- a/include/ruby/internal/core/rbasic.h
+++ b/include/ruby/internal/core/rbasic.h
@@ -73,7 +73,7 @@ VALUE rb_obj_hide(VALUE obj);
VALUE rb_obj_reveal(VALUE obj, VALUE klass); /* do not use this API to change klass information */
RBIMPL_SYMBOL_EXPORT_END()
-RBIMPL_ATTR_PURE_ON_NDEBUG()
+RBIMPL_ATTR_PURE_UNLESS_DEBUG()
RBIMPL_ATTR_ARTIFICIAL()
static inline VALUE
RBASIC_CLASS(VALUE obj)