summaryrefslogtreecommitdiff
path: root/yjit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'yjit.rb')
-rw-r--r--yjit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit.rb b/yjit.rb
index 0bc353992c..09ed3faaf3 100644
--- a/yjit.rb
+++ b/yjit.rb
@@ -149,7 +149,7 @@ module RubyVM::YJIT
end
def self.enabled?
- Primitive.cexpr! 'rb_yjit_enabled_p() ? Qtrue : Qfalse'
+ Primitive.cexpr! 'RBOOL(rb_yjit_enabled_p())'
end
def self.simulate_oom!