mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
MJIT: Merge mjit_worker.c back to mjit.c (#6138)
Since #6006, we no longer avoid executing GC on mjit_worker.c and thus there's no need to carefully change how we write code whether you're in mjit.c or mjit_worker.c anymore.
This commit is contained in:
parent
3f962a20b9
commit
439d31bc77
Notes:
git
2022-07-15 12:35:18 +09:00
Merged-By: k0kubun <takashikkbn@gmail.com>
4 changed files with 1264 additions and 1296 deletions
|
@ -9658,7 +9658,6 @@ mjit.$(OBJEXT): {$(VPATH)}mjit.h
|
|||
mjit.$(OBJEXT): {$(VPATH)}mjit.rb
|
||||
mjit.$(OBJEXT): {$(VPATH)}mjit.rbinc
|
||||
mjit.$(OBJEXT): {$(VPATH)}mjit_config.h
|
||||
mjit.$(OBJEXT): {$(VPATH)}mjit_worker.c
|
||||
mjit.$(OBJEXT): {$(VPATH)}node.h
|
||||
mjit.$(OBJEXT): {$(VPATH)}onigmo.h
|
||||
mjit.$(OBJEXT): {$(VPATH)}oniguruma.h
|
||||
|
|
1290
mjit_worker.c
1290
mjit_worker.c
File diff suppressed because it is too large
Load diff
|
@ -1228,7 +1228,7 @@ class TestMJIT < Test::Unit::TestCase
|
|||
success_actual = err.scan(/^#{JIT_SUCCESS_PREFIX}:/).size
|
||||
recompile_actual = err.scan(/^#{JIT_RECOMPILE_PREFIX}:/).size
|
||||
# Add --mjit-verbose=2 logs for cl.exe because compiler's error message is suppressed
|
||||
# for cl.exe with --mjit-verbose=1. See `start_process` in mjit_worker.c.
|
||||
# for cl.exe with --mjit-verbose=1. See `start_process` in mjit.c.
|
||||
if RUBY_PLATFORM.match?(/mswin/) && success_count != success_actual
|
||||
out2, err2 = eval_with_jit(script, verbose: 2, min_calls: min_calls, max_cache: max_cache)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue