summaryrefslogtreecommitdiff
path: root/tool/ruby_vm/views/mjit_compile.inc.erb
diff options
context:
space:
mode:
authorKoichi Sasada <[email protected]>2020-05-29 13:50:58 +0900
committerKoichi Sasada <[email protected]>2020-05-29 13:50:58 +0900
commitd300a734414ef6de7e8eb563b7cc4389c455ed08 (patch)
tree8bf74eeff069a67906551823dd8e345cc3bb4409 /tool/ruby_vm/views/mjit_compile.inc.erb
parent03d7f3cdb2550449bcf1c0c1b5529b5197dfb418 (diff)
RUBY_ASSERT_NOASSUME
If __builtin_assume() is enables and RUBY_DEBUG=0, RUBY_ASSERT(expr) will be compiled to __builtin_assume(expr) and compiler can assume expr is true and apply aggressive optimizations. However we observed doubtful behavior because of compiler optimizations, we introduce new macro RUBY_ASSERT_NOASSUME to disable __builtin_assume(). With this macro, we can try without __builtin_assume().
Diffstat (limited to 'tool/ruby_vm/views/mjit_compile.inc.erb')
0 files changed, 0 insertions, 0 deletions