卜部昌平
5e96054519
dln_find_1: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
99073f49bf
glob_opendir: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
70857ae1aa
glob_make_pattern: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
9c92dcf366
ibf_dump_object_object: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
a8d992ac00
compile_call: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
aa2cb7f722
compile_redo: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
cf29de7e6e
compile_next: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
cc1e9b8e11
compile_break: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
1f90690a1d
compile_branch_condition: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
a6b1454a5d
optimize_checktype: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
a5342f46e6
iseq_set_exception_table: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
a93da4970b
cmp_clamp: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
3a3728e4b3
singleton_class_of: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
86e3d63772
SPECIAL_SINGLETON: no longer used
...
This macro does not improve any readability and/or runtime performance.
2020-06-29 11:05:41 +09:00
卜部昌平
8d182b04ed
builtin_lookup: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
9ec4f1f205
rb_big_aref: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
184f0ab4c9
rb_int_parse_cstr: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
5a7c0dd038
str2big_scan_digits: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
4dfc2f2e3d
bary_mul_karatsuba_branch: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
e634a9d1a5
node_children: do not goto into a branch
...
Was this an autogenerated function? This tendency of avoiding empty
branches are no longer preserved (see for instance NODE_IVAR). Let's
just delete those unnecessary jumps into branches.
2020-06-29 11:05:41 +09:00
卜部昌平
4f2425549a
rb_ary_slice_bang: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
73f98d25eb
ary_join_1: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
4dc83eefce
rb_ary_aset: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
2d6f8db3d6
add spaces [ci skip]
2020-06-29 11:05:41 +09:00
卜部昌平
86c869fb59
ary_ensure_room_for_unshift: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
卜部昌平
2e8d8d10f2
rb_ary_behead: do not goto into a branch
...
I'm not necessarily against every goto in general, but jumping into a
branch is definitely a bad idea. Better refactor.
2020-06-29 11:05:41 +09:00
Nobuyoshi Nakada
09b936d89c
Calculate header line count instead of hardcoding
2020-06-28 14:14:29 +09:00
Nobuyoshi Nakada
1020f7e3aa
Replace separators in input file name in header too
2020-06-28 14:12:26 +09:00
Nobuyoshi Nakada
44a659ad97
Replace ALT_SEPARATOR with SEPARATOR also in output file name
...
To suppress warnings by Visual C.
```
./integer.rb(5) : warning C4129: 'i' : unrecognized character escape sequence
./kernel.rb(21) : warning C4129: 'k' : unrecognized character escape sequence
```
2020-06-28 13:20:40 +09:00
Nobuyoshi Nakada
48fb6299c6
[ruby/fiddle] support for very old libffi
...
Define `Fiddle::TYPE_VARIADIC` only when `ffi_prep_cif_var` is
available, otherwise skip the test for it.
2020-06-28 10:40:31 +09:00
Takashi Kokubun
0703e01471
Mark some Integer methods as inline ( #3264 )
2020-06-27 10:07:47 -07:00
git
247dd8743e
* 2020-06-28 [ci skip]
2020-06-28 02:03:05 +09:00
Nobuyoshi Nakada
c405a8d37a
[ruby/fiddle] try bundled libffi by default
...
If no installed libffi found, use bundled libffi unless explicitly
`--disable-bundled-libffi` option is given.
2020-06-28 01:03:21 +09:00
Sutou Kouhei
f2bcdc7283
[ruby/fiddle] Support MSWIN ( #43 )
...
f16e7ff6e0
2020-06-27 23:54:09 +09:00
Sutou Kouhei
a40b390b17
[ruby/fiddle] test windows: use _snprintf
...
aa261bdb9f
2020-06-27 23:54:09 +09:00
Sutou Kouhei
6429b6d973
[ruby/fiddle] Add missing include
...
4ca61efcd7
2020-06-27 23:54:08 +09:00
Sutou Kouhei
ae18220f99
[ruby/fiddle] Add support for variadic arguments
...
GitHub: fix GH-39
Reported by kojix2. Thanks!!!
6c4cb904dc
2020-06-27 23:54:08 +09:00
Sutou Kouhei
9f740acaf9
[ruby/fiddle] Use meaningful variable name
...
2cac24b7c8
2020-06-27 23:54:08 +09:00
Sutou Kouhei
50fbd00e76
[ruby/fiddle] Use "do { } while (0)" to ensure requiring ";"
...
2155ae5979
2020-06-27 23:54:08 +09:00
Benoit Daloze
0faf6c8c0e
Update to ruby/spec@6c466d4
2020-06-27 16:40:16 +02:00
Nobuyoshi Nakada
25fbc88666
Removed non-ASCII code to suppress warnings by localized compilers
2020-06-27 23:15:13 +09:00
Benoit Daloze
b3fa158d1c
Update to ruby/spec@b6b7752
2020-06-27 15:51:37 +02:00
Benoit Daloze
64d8c0815e
Update to ruby/mspec@6cb1f10
2020-06-27 15:51:35 +02:00
Takashi Kokubun
609ac6ee2c
Revert "Try increasing read timeout of rinda tests"
...
This reverts commit 5c03e4680e
.
I gave up stabilizing Rinda::TupleSpaceProxyTest#test_cancel_02. As the
test uses sleep, it's probably not gonna be stable with --jit-wait.
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3028276
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3028065
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3027857
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3027441
2020-06-26 22:43:59 -07:00
Kazuki Tsujimoto
600f3990d6
Cosmetic change
2020-06-27 13:53:47 +09:00
Kazuki Tsujimoto
7a5a0dfa5e
Suppress "assigned but unused variable" warnings
2020-06-27 13:52:23 +09:00
Vladimir Dementyev
c9ee34a18b
Add #deconstruct cache to find pattern
2020-06-27 13:51:03 +09:00
Vladimir Dementyev
5320375732
Optimize array pattern matching by caching #deconstruct value
2020-06-27 13:51:03 +09:00
Vladimir Dementyev
6770d8f1b0
Add pattern matching with arrays benchmark
2020-06-27 13:51:03 +09:00
git
d6c9c014e2
* 2020-06-27 [ci skip]
2020-06-27 10:55:39 +09:00