summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyoptions.rb
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-04-12 11:37:01 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2021-04-13 14:30:21 +0900
commitf8e1bf283d328dda6334ecca5170b72b870f0da2 (patch)
treee93f0cde8b9ef66f1acb2e474e0290ff785a9dd3 /test/ruby/test_rubyoptions.rb
parent6413dc27dca1347d95f0b37527a794b182e4f7b9 (diff)
workaround MSVC error
Previous code failed to compile on MSVC. Log: https://github.com/ruby/ruby/pull/4371/checks?check_run_id=2304484466 This is possibly due to the fact that: 1. `Data_Wrap_Struct(...)` appears in a source code 2. which expands to `rb_data_object_wrap(...)` 3. which expands to `RUBY_MACRO_SELECT(rb_data_object_wrap_, RUBY_UNTYPED_DATA_WARNING)` 4. which expands to `rb_data_object_wrap_0` 5. which expands to `rb_data_object_wrap`, so far so good, but 6. this is a recursive macro expansion (see step 2). Everybody stops expanding... - in step 4 for MSVC, and - in step 5 for GCC etc. I have no idea why but this proposed changeset prevents MSVC from stopping at step 4.
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
0 files changed, 0 insertions, 0 deletions
td>re-enabled YJIT on x64-mswin64NAKAMURA Usaku 2021-12-27Do not support non-x86_64 platformsTakashi Kokubun 2021-12-27Tiny mmap emulation for WindowsU.Nakamura 2021-12-13Rename --jit to --mjit (#5248)Takashi Kokubun 2021-12-06YJIT: Fix incomplete invalidation from opt_setinlinecacheAlan Wu 2021-11-18Add --yjit-no-type-prop so we can test YJIT without type propagation (#5135)Maxime Chevalier-Boisvert 2021-10-25Update YJIT code owners. Revert accidental commit.Maxime Chevalier-Boisvert 2021-10-25Test PRMaxime Chevalier-Boisvert 2021-10-20Move YJIT internal macros away from yjit.h. Tweak styleAlan Wu 2021-10-20Tweak mjit_exec() to remove YJIT symbol exportsAlan Wu 2021-10-20Put YJIT into a single compilation unitAlan Wu 2021-10-20Fix changes from rebaseNoah Gibbs 2021-10-20Count interpreter instructions when -DYJIT_STATS=1Alan Wu 2021-10-20TracePoint supportAlan Wu 2021-10-20Make sure we can still compile with the JIT disabledAaron Patterson 2021-10-20Always use `ret` to return to the interpreterAaron Patterson 2021-10-20Try running with more YJIT options in CI to surface more bugsMaxime Chevalier-Boisvert 2021-10-20Increase default YJIT call threshold to 10. Add exec mem size arg. (#52)Maxime Chevalier-Boisvert 2021-10-20Implement greedy versioning. Refactor versioning logic. (#10)Maxime Chevalier-Boisvert 2021-10-20YJIT: Fancier opt_getinlinecacheAlan Wu 2021-10-20Collect statistics about binding allocations / local variable setAaron Patterson 2021-10-20Get rid of dependency on rb_call_cacheAlan Wu 2021-10-20Yet Another Ruby JIT!Jose Narvaez