Use a set_table
for rb_vm_struct.unused_block_warning_table
Now that we have a hash-set implementation we can use that instead of a hash-table with a static value.
This commit is contained in:
parent
6874b289a1
commit
3ec7bfff2e
55
common.mk
55
common.mk
@ -2121,6 +2121,7 @@ array.$(OBJEXT): $(top_srcdir)/internal/proc.h
|
||||
array.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
array.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
array.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
array.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
array.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
array.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
array.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -2337,6 +2338,7 @@ ast.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
ast.$(OBJEXT): $(top_srcdir)/internal/ruby_parser.h
|
||||
ast.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
ast.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
ast.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
ast.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
ast.$(OBJEXT): $(top_srcdir)/internal/symbol.h
|
||||
ast.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
@ -2573,6 +2575,7 @@ bignum.$(OBJEXT): $(top_srcdir)/internal/numeric.h
|
||||
bignum.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
bignum.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
bignum.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
bignum.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
bignum.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
bignum.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
bignum.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -2775,6 +2778,7 @@ builtin.$(OBJEXT): $(top_srcdir)/internal/gc.h
|
||||
builtin.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
builtin.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
builtin.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
builtin.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
builtin.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
builtin.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
builtin.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -3006,6 +3010,7 @@ class.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
class.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
class.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
class.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
class.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
class.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
class.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
class.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
@ -3206,6 +3211,7 @@ compar.$(OBJEXT): $(top_srcdir)/internal/compar.h
|
||||
compar.$(OBJEXT): $(top_srcdir)/internal/compilers.h
|
||||
compar.$(OBJEXT): $(top_srcdir)/internal/error.h
|
||||
compar.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
compar.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
compar.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
compar.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
compar.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -3409,6 +3415,7 @@ compile.$(OBJEXT): $(top_srcdir)/internal/re.h
|
||||
compile.$(OBJEXT): $(top_srcdir)/internal/ruby_parser.h
|
||||
compile.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
compile.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
compile.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
compile.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
compile.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
compile.$(OBJEXT): $(top_srcdir)/internal/symbol.h
|
||||
@ -3666,6 +3673,7 @@ complex.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
complex.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
complex.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
complex.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
complex.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
complex.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
complex.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
complex.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
@ -3875,6 +3883,7 @@ cont.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
cont.$(OBJEXT): $(top_srcdir)/internal/proc.h
|
||||
cont.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
cont.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
cont.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
cont.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
cont.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
cont.$(OBJEXT): $(top_srcdir)/internal/thread.h
|
||||
@ -4112,6 +4121,7 @@ debug.$(OBJEXT): $(top_srcdir)/internal/gc.h
|
||||
debug.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
debug.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
debug.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
debug.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
debug.$(OBJEXT): $(top_srcdir)/internal/signal.h
|
||||
debug.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
debug.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
@ -4492,6 +4502,7 @@ dir.$(OBJEXT): $(top_srcdir)/internal/io.h
|
||||
dir.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
dir.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
dir.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
dir.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
dir.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
dir.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
dir.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
@ -6004,6 +6015,7 @@ encoding.$(OBJEXT): $(top_srcdir)/internal/inits.h
|
||||
encoding.$(OBJEXT): $(top_srcdir)/internal/load.h
|
||||
encoding.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
encoding.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
encoding.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
encoding.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
encoding.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
encoding.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
@ -6218,6 +6230,7 @@ enum.$(OBJEXT): $(top_srcdir)/internal/proc.h
|
||||
enum.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
enum.$(OBJEXT): $(top_srcdir)/internal/re.h
|
||||
enum.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
enum.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
enum.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
enum.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
enum.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -6422,6 +6435,7 @@ enumerator.$(OBJEXT): $(top_srcdir)/internal/range.h
|
||||
enumerator.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
enumerator.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
enumerator.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
enumerator.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
enumerator.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
enumerator.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
enumerator.$(OBJEXT): $(top_srcdir)/internal/struct.h
|
||||
@ -6636,6 +6650,7 @@ error.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
error.$(OBJEXT): $(top_srcdir)/internal/process.h
|
||||
error.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
error.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
error.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
error.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
error.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
error.$(OBJEXT): $(top_srcdir)/internal/symbol.h
|
||||
@ -6858,6 +6873,7 @@ eval.$(OBJEXT): $(top_srcdir)/internal/io.h
|
||||
eval.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
eval.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
eval.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
eval.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
eval.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
eval.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
eval.$(OBJEXT): $(top_srcdir)/internal/thread.h
|
||||
@ -7339,6 +7355,7 @@ gc.$(OBJEXT): $(top_srcdir)/internal/proc.h
|
||||
gc.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
gc.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
gc.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
gc.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
gc.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
gc.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
gc.$(OBJEXT): $(top_srcdir)/internal/struct.h
|
||||
@ -7602,6 +7619,7 @@ goruby.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
goruby.$(OBJEXT): $(top_srcdir)/internal/ruby_parser.h
|
||||
goruby.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
goruby.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
goruby.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
goruby.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
goruby.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
goruby.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -7840,6 +7858,7 @@ hash.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
hash.$(OBJEXT): $(top_srcdir)/internal/proc.h
|
||||
hash.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
hash.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
hash.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
hash.$(OBJEXT): $(top_srcdir)/internal/st.h
|
||||
hash.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
hash.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
@ -8082,6 +8101,7 @@ imemo.$(OBJEXT): $(top_srcdir)/internal/gc.h
|
||||
imemo.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
imemo.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
imemo.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
imemo.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
imemo.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
imemo.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
imemo.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -8462,6 +8482,7 @@ io.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
io.$(OBJEXT): $(top_srcdir)/internal/process.h
|
||||
io.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
io.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
io.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
io.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
io.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
io.$(OBJEXT): $(top_srcdir)/internal/thread.h
|
||||
@ -8685,6 +8706,7 @@ io_buffer.$(OBJEXT): $(top_srcdir)/internal/io.h
|
||||
io_buffer.$(OBJEXT): $(top_srcdir)/internal/numeric.h
|
||||
io_buffer.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
io_buffer.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
io_buffer.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
io_buffer.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
io_buffer.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
io_buffer.$(OBJEXT): $(top_srcdir)/internal/thread.h
|
||||
@ -9160,6 +9182,7 @@ load.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
load.$(OBJEXT): $(top_srcdir)/internal/ruby_parser.h
|
||||
load.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
load.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
load.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
load.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
load.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
load.$(OBJEXT): $(top_srcdir)/internal/thread.h
|
||||
@ -9901,6 +9924,7 @@ marshal.$(OBJEXT): $(top_srcdir)/internal/numeric.h
|
||||
marshal.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
marshal.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
marshal.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
marshal.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
marshal.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
marshal.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
marshal.$(OBJEXT): $(top_srcdir)/internal/struct.h
|
||||
@ -10288,6 +10312,7 @@ memory_view.$(OBJEXT): $(top_srcdir)/internal/hash.h
|
||||
memory_view.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
memory_view.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
memory_view.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
memory_view.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
memory_view.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
memory_view.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
memory_view.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -10501,6 +10526,7 @@ miniinit.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
miniinit.$(OBJEXT): $(top_srcdir)/internal/ruby_parser.h
|
||||
miniinit.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
miniinit.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
miniinit.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
miniinit.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
miniinit.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
miniinit.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -10751,6 +10777,7 @@ node.$(OBJEXT): $(top_srcdir)/internal/hash.h
|
||||
node.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
node.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
node.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
node.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
node.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
node.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
node.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -10962,6 +10989,7 @@ node_dump.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
node_dump.$(OBJEXT): $(top_srcdir)/internal/ruby_parser.h
|
||||
node_dump.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
node_dump.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
node_dump.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
node_dump.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
node_dump.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
node_dump.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -11175,6 +11203,7 @@ numeric.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
numeric.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
numeric.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
numeric.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
numeric.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
numeric.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
numeric.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
numeric.$(OBJEXT): $(top_srcdir)/internal/util.h
|
||||
@ -11390,6 +11419,7 @@ object.$(OBJEXT): $(top_srcdir)/internal/numeric.h
|
||||
object.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
object.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
object.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
object.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
object.$(OBJEXT): $(top_srcdir)/internal/st.h
|
||||
object.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
object.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
@ -11607,6 +11637,7 @@ pack.$(OBJEXT): $(top_srcdir)/internal/gc.h
|
||||
pack.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
pack.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
pack.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
pack.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
pack.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
pack.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
pack.$(OBJEXT): $(top_srcdir)/internal/symbol.h
|
||||
@ -11828,6 +11859,7 @@ parse.$(OBJEXT): $(top_srcdir)/internal/re.h
|
||||
parse.$(OBJEXT): $(top_srcdir)/internal/ruby_parser.h
|
||||
parse.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
parse.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
parse.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
parse.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
parse.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
parse.$(OBJEXT): $(top_srcdir)/internal/symbol.h
|
||||
@ -13102,6 +13134,7 @@ proc.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
proc.$(OBJEXT): $(top_srcdir)/internal/proc.h
|
||||
proc.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
proc.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
proc.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
proc.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
proc.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
proc.$(OBJEXT): $(top_srcdir)/internal/symbol.h
|
||||
@ -13348,6 +13381,7 @@ process.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
process.$(OBJEXT): $(top_srcdir)/internal/process.h
|
||||
process.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
process.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
process.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
process.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
process.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
process.$(OBJEXT): $(top_srcdir)/internal/thread.h
|
||||
@ -13573,6 +13607,7 @@ ractor.$(OBJEXT): $(top_srcdir)/internal/ractor.h
|
||||
ractor.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
ractor.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
ractor.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
ractor.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
ractor.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
ractor.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
ractor.$(OBJEXT): $(top_srcdir)/internal/struct.h
|
||||
@ -13792,6 +13827,7 @@ random.$(OBJEXT): $(top_srcdir)/internal/numeric.h
|
||||
random.$(OBJEXT): $(top_srcdir)/internal/random.h
|
||||
random.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
random.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
random.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
random.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
random.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
random.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -14198,6 +14234,7 @@ rational.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
rational.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
rational.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
rational.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
rational.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
rational.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
rational.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
rational.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -14406,6 +14443,7 @@ re.$(OBJEXT): $(top_srcdir)/internal/ractor.h
|
||||
re.$(OBJEXT): $(top_srcdir)/internal/re.h
|
||||
re.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
re.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
re.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
re.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
re.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
re.$(OBJEXT): $(top_srcdir)/internal/time.h
|
||||
@ -15621,6 +15659,7 @@ ruby.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
ruby.$(OBJEXT): $(top_srcdir)/internal/ruby_parser.h
|
||||
ruby.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
ruby.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
ruby.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
ruby.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
ruby.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
ruby.$(OBJEXT): $(top_srcdir)/internal/thread.h
|
||||
@ -16046,6 +16085,7 @@ scheduler.$(OBJEXT): $(top_srcdir)/internal/gc.h
|
||||
scheduler.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
scheduler.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
scheduler.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
scheduler.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
scheduler.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
scheduler.$(OBJEXT): $(top_srcdir)/internal/thread.h
|
||||
scheduler.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
@ -16620,6 +16660,7 @@ shape.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
shape.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
shape.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
shape.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
shape.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
shape.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
shape.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
shape.$(OBJEXT): $(top_srcdir)/internal/symbol.h
|
||||
@ -16830,6 +16871,7 @@ signal.$(OBJEXT): $(top_srcdir)/internal/gc.h
|
||||
signal.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
signal.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
signal.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
signal.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
signal.$(OBJEXT): $(top_srcdir)/internal/signal.h
|
||||
signal.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
signal.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
@ -17598,6 +17640,7 @@ string.$(OBJEXT): $(top_srcdir)/internal/proc.h
|
||||
string.$(OBJEXT): $(top_srcdir)/internal/re.h
|
||||
string.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
string.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
string.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
string.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
string.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
string.$(OBJEXT): $(top_srcdir)/internal/transcode.h
|
||||
@ -17847,6 +17890,7 @@ struct.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
struct.$(OBJEXT): $(top_srcdir)/internal/proc.h
|
||||
struct.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
struct.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
struct.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
struct.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
struct.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
struct.$(OBJEXT): $(top_srcdir)/internal/struct.h
|
||||
@ -18059,6 +18103,7 @@ symbol.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
symbol.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
symbol.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
symbol.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
symbol.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
symbol.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
symbol.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
symbol.$(OBJEXT): $(top_srcdir)/internal/symbol.h
|
||||
@ -18282,6 +18327,7 @@ thread.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
thread.$(OBJEXT): $(top_srcdir)/internal/proc.h
|
||||
thread.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
thread.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
thread.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
thread.$(OBJEXT): $(top_srcdir)/internal/signal.h
|
||||
thread.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
thread.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
@ -18536,6 +18582,7 @@ time.$(OBJEXT): $(top_srcdir)/internal/numeric.h
|
||||
time.$(OBJEXT): $(top_srcdir)/internal/rational.h
|
||||
time.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
time.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
time.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
time.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
time.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
time.$(OBJEXT): $(top_srcdir)/internal/time.h
|
||||
@ -19107,6 +19154,7 @@ variable.$(OBJEXT): $(top_srcdir)/internal/object.h
|
||||
variable.$(OBJEXT): $(top_srcdir)/internal/re.h
|
||||
variable.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
variable.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
variable.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
variable.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
variable.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
variable.$(OBJEXT): $(top_srcdir)/internal/symbol.h
|
||||
@ -19322,6 +19370,7 @@ version.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
version.$(OBJEXT): $(top_srcdir)/internal/parse.h
|
||||
version.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
version.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
version.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
version.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
version.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
version.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -19815,6 +19864,7 @@ vm_backtrace.$(OBJEXT): $(top_srcdir)/internal/gc.h
|
||||
vm_backtrace.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
vm_backtrace.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
vm_backtrace.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
vm_backtrace.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
vm_backtrace.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
vm_backtrace.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
vm_backtrace.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
@ -20046,6 +20096,7 @@ vm_dump.$(OBJEXT): $(top_srcdir)/internal/gc.h
|
||||
vm_dump.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
vm_dump.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
vm_dump.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
vm_dump.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
vm_dump.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
vm_dump.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
vm_dump.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
@ -20277,6 +20328,7 @@ vm_sync.$(OBJEXT): $(top_srcdir)/internal/gc.h
|
||||
vm_sync.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
vm_sync.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
vm_sync.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
vm_sync.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
vm_sync.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
vm_sync.$(OBJEXT): $(top_srcdir)/internal/thread.h
|
||||
vm_sync.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
@ -20487,6 +20539,7 @@ vm_trace.$(OBJEXT): $(top_srcdir)/internal/hash.h
|
||||
vm_trace.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
vm_trace.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
vm_trace.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
vm_trace.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
vm_trace.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
vm_trace.$(OBJEXT): $(top_srcdir)/internal/symbol.h
|
||||
vm_trace.$(OBJEXT): $(top_srcdir)/internal/thread.h
|
||||
@ -20725,6 +20778,7 @@ weakmap.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
weakmap.$(OBJEXT): $(top_srcdir)/internal/proc.h
|
||||
weakmap.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
weakmap.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
weakmap.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
weakmap.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
weakmap.$(OBJEXT): $(top_srcdir)/internal/vm.h
|
||||
weakmap.$(OBJEXT): $(top_srcdir)/internal/warnings.h
|
||||
@ -20929,6 +20983,7 @@ yjit.$(OBJEXT): $(top_srcdir)/internal/imemo.h
|
||||
yjit.$(OBJEXT): $(top_srcdir)/internal/numeric.h
|
||||
yjit.$(OBJEXT): $(top_srcdir)/internal/sanitizers.h
|
||||
yjit.$(OBJEXT): $(top_srcdir)/internal/serial.h
|
||||
yjit.$(OBJEXT): $(top_srcdir)/internal/set_table.h
|
||||
yjit.$(OBJEXT): $(top_srcdir)/internal/static_assert.h
|
||||
yjit.$(OBJEXT): $(top_srcdir)/internal/string.h
|
||||
yjit.$(OBJEXT): $(top_srcdir)/internal/variable.h
|
||||
|
@ -2014,7 +2014,7 @@ iseq_set_use_block(rb_iseq_t *iseq)
|
||||
|
||||
if (!rb_warning_category_enabled_p(RB_WARN_CATEGORY_STRICT_UNUSED_BLOCK)) {
|
||||
st_data_t key = (st_data_t)rb_intern_str(body->location.label); // String -> ID
|
||||
st_insert(vm->unused_block_warning_table, key, 1);
|
||||
set_insert(vm->unused_block_warning_table, key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -188,6 +188,7 @@ coverage.o: $(top_srcdir)/internal/hash.h
|
||||
coverage.o: $(top_srcdir)/internal/imemo.h
|
||||
coverage.o: $(top_srcdir)/internal/sanitizers.h
|
||||
coverage.o: $(top_srcdir)/internal/serial.h
|
||||
coverage.o: $(top_srcdir)/internal/set_table.h
|
||||
coverage.o: $(top_srcdir)/internal/static_assert.h
|
||||
coverage.o: $(top_srcdir)/internal/thread.h
|
||||
coverage.o: $(top_srcdir)/internal/variable.h
|
||||
|
@ -185,6 +185,7 @@ object_tracing.o: $(top_srcdir)/internal/gc.h
|
||||
object_tracing.o: $(top_srcdir)/internal/imemo.h
|
||||
object_tracing.o: $(top_srcdir)/internal/sanitizers.h
|
||||
object_tracing.o: $(top_srcdir)/internal/serial.h
|
||||
object_tracing.o: $(top_srcdir)/internal/set_table.h
|
||||
object_tracing.o: $(top_srcdir)/internal/static_assert.h
|
||||
object_tracing.o: $(top_srcdir)/internal/vm.h
|
||||
object_tracing.o: $(top_srcdir)/internal/warnings.h
|
||||
@ -393,6 +394,7 @@ objspace.o: $(top_srcdir)/internal/hash.h
|
||||
objspace.o: $(top_srcdir)/internal/imemo.h
|
||||
objspace.o: $(top_srcdir)/internal/sanitizers.h
|
||||
objspace.o: $(top_srcdir)/internal/serial.h
|
||||
objspace.o: $(top_srcdir)/internal/set_table.h
|
||||
objspace.o: $(top_srcdir)/internal/static_assert.h
|
||||
objspace.o: $(top_srcdir)/internal/variable.h
|
||||
objspace.o: $(top_srcdir)/internal/vm.h
|
||||
@ -605,6 +607,7 @@ objspace_dump.o: $(top_srcdir)/internal/imemo.h
|
||||
objspace_dump.o: $(top_srcdir)/internal/io.h
|
||||
objspace_dump.o: $(top_srcdir)/internal/sanitizers.h
|
||||
objspace_dump.o: $(top_srcdir)/internal/serial.h
|
||||
objspace_dump.o: $(top_srcdir)/internal/set_table.h
|
||||
objspace_dump.o: $(top_srcdir)/internal/static_assert.h
|
||||
objspace_dump.o: $(top_srcdir)/internal/string.h
|
||||
objspace_dump.o: $(top_srcdir)/internal/variable.h
|
||||
|
@ -598,6 +598,7 @@ ripper.o: $(top_srcdir)/internal/re.h
|
||||
ripper.o: $(top_srcdir)/internal/ruby_parser.h
|
||||
ripper.o: $(top_srcdir)/internal/sanitizers.h
|
||||
ripper.o: $(top_srcdir)/internal/serial.h
|
||||
ripper.o: $(top_srcdir)/internal/set_table.h
|
||||
ripper.o: $(top_srcdir)/internal/static_assert.h
|
||||
ripper.o: $(top_srcdir)/internal/string.h
|
||||
ripper.o: $(top_srcdir)/internal/symbol.h
|
||||
|
@ -202,6 +202,7 @@ ancdata.o: $(top_srcdir)/internal/imemo.h
|
||||
ancdata.o: $(top_srcdir)/internal/io.h
|
||||
ancdata.o: $(top_srcdir)/internal/sanitizers.h
|
||||
ancdata.o: $(top_srcdir)/internal/serial.h
|
||||
ancdata.o: $(top_srcdir)/internal/set_table.h
|
||||
ancdata.o: $(top_srcdir)/internal/static_assert.h
|
||||
ancdata.o: $(top_srcdir)/internal/string.h
|
||||
ancdata.o: $(top_srcdir)/internal/thread.h
|
||||
@ -413,6 +414,7 @@ basicsocket.o: $(top_srcdir)/internal/imemo.h
|
||||
basicsocket.o: $(top_srcdir)/internal/io.h
|
||||
basicsocket.o: $(top_srcdir)/internal/sanitizers.h
|
||||
basicsocket.o: $(top_srcdir)/internal/serial.h
|
||||
basicsocket.o: $(top_srcdir)/internal/set_table.h
|
||||
basicsocket.o: $(top_srcdir)/internal/static_assert.h
|
||||
basicsocket.o: $(top_srcdir)/internal/string.h
|
||||
basicsocket.o: $(top_srcdir)/internal/thread.h
|
||||
@ -624,6 +626,7 @@ constants.o: $(top_srcdir)/internal/imemo.h
|
||||
constants.o: $(top_srcdir)/internal/io.h
|
||||
constants.o: $(top_srcdir)/internal/sanitizers.h
|
||||
constants.o: $(top_srcdir)/internal/serial.h
|
||||
constants.o: $(top_srcdir)/internal/set_table.h
|
||||
constants.o: $(top_srcdir)/internal/static_assert.h
|
||||
constants.o: $(top_srcdir)/internal/string.h
|
||||
constants.o: $(top_srcdir)/internal/thread.h
|
||||
@ -836,6 +839,7 @@ ifaddr.o: $(top_srcdir)/internal/imemo.h
|
||||
ifaddr.o: $(top_srcdir)/internal/io.h
|
||||
ifaddr.o: $(top_srcdir)/internal/sanitizers.h
|
||||
ifaddr.o: $(top_srcdir)/internal/serial.h
|
||||
ifaddr.o: $(top_srcdir)/internal/set_table.h
|
||||
ifaddr.o: $(top_srcdir)/internal/static_assert.h
|
||||
ifaddr.o: $(top_srcdir)/internal/string.h
|
||||
ifaddr.o: $(top_srcdir)/internal/thread.h
|
||||
@ -1047,6 +1051,7 @@ init.o: $(top_srcdir)/internal/imemo.h
|
||||
init.o: $(top_srcdir)/internal/io.h
|
||||
init.o: $(top_srcdir)/internal/sanitizers.h
|
||||
init.o: $(top_srcdir)/internal/serial.h
|
||||
init.o: $(top_srcdir)/internal/set_table.h
|
||||
init.o: $(top_srcdir)/internal/static_assert.h
|
||||
init.o: $(top_srcdir)/internal/string.h
|
||||
init.o: $(top_srcdir)/internal/thread.h
|
||||
@ -1258,6 +1263,7 @@ ipsocket.o: $(top_srcdir)/internal/imemo.h
|
||||
ipsocket.o: $(top_srcdir)/internal/io.h
|
||||
ipsocket.o: $(top_srcdir)/internal/sanitizers.h
|
||||
ipsocket.o: $(top_srcdir)/internal/serial.h
|
||||
ipsocket.o: $(top_srcdir)/internal/set_table.h
|
||||
ipsocket.o: $(top_srcdir)/internal/static_assert.h
|
||||
ipsocket.o: $(top_srcdir)/internal/string.h
|
||||
ipsocket.o: $(top_srcdir)/internal/thread.h
|
||||
@ -1469,6 +1475,7 @@ option.o: $(top_srcdir)/internal/imemo.h
|
||||
option.o: $(top_srcdir)/internal/io.h
|
||||
option.o: $(top_srcdir)/internal/sanitizers.h
|
||||
option.o: $(top_srcdir)/internal/serial.h
|
||||
option.o: $(top_srcdir)/internal/set_table.h
|
||||
option.o: $(top_srcdir)/internal/static_assert.h
|
||||
option.o: $(top_srcdir)/internal/string.h
|
||||
option.o: $(top_srcdir)/internal/thread.h
|
||||
@ -1680,6 +1687,7 @@ raddrinfo.o: $(top_srcdir)/internal/imemo.h
|
||||
raddrinfo.o: $(top_srcdir)/internal/io.h
|
||||
raddrinfo.o: $(top_srcdir)/internal/sanitizers.h
|
||||
raddrinfo.o: $(top_srcdir)/internal/serial.h
|
||||
raddrinfo.o: $(top_srcdir)/internal/set_table.h
|
||||
raddrinfo.o: $(top_srcdir)/internal/static_assert.h
|
||||
raddrinfo.o: $(top_srcdir)/internal/string.h
|
||||
raddrinfo.o: $(top_srcdir)/internal/thread.h
|
||||
@ -1891,6 +1899,7 @@ socket.o: $(top_srcdir)/internal/imemo.h
|
||||
socket.o: $(top_srcdir)/internal/io.h
|
||||
socket.o: $(top_srcdir)/internal/sanitizers.h
|
||||
socket.o: $(top_srcdir)/internal/serial.h
|
||||
socket.o: $(top_srcdir)/internal/set_table.h
|
||||
socket.o: $(top_srcdir)/internal/static_assert.h
|
||||
socket.o: $(top_srcdir)/internal/string.h
|
||||
socket.o: $(top_srcdir)/internal/thread.h
|
||||
@ -2102,6 +2111,7 @@ sockssocket.o: $(top_srcdir)/internal/imemo.h
|
||||
sockssocket.o: $(top_srcdir)/internal/io.h
|
||||
sockssocket.o: $(top_srcdir)/internal/sanitizers.h
|
||||
sockssocket.o: $(top_srcdir)/internal/serial.h
|
||||
sockssocket.o: $(top_srcdir)/internal/set_table.h
|
||||
sockssocket.o: $(top_srcdir)/internal/static_assert.h
|
||||
sockssocket.o: $(top_srcdir)/internal/string.h
|
||||
sockssocket.o: $(top_srcdir)/internal/thread.h
|
||||
@ -2313,6 +2323,7 @@ tcpserver.o: $(top_srcdir)/internal/imemo.h
|
||||
tcpserver.o: $(top_srcdir)/internal/io.h
|
||||
tcpserver.o: $(top_srcdir)/internal/sanitizers.h
|
||||
tcpserver.o: $(top_srcdir)/internal/serial.h
|
||||
tcpserver.o: $(top_srcdir)/internal/set_table.h
|
||||
tcpserver.o: $(top_srcdir)/internal/static_assert.h
|
||||
tcpserver.o: $(top_srcdir)/internal/string.h
|
||||
tcpserver.o: $(top_srcdir)/internal/thread.h
|
||||
@ -2524,6 +2535,7 @@ tcpsocket.o: $(top_srcdir)/internal/imemo.h
|
||||
tcpsocket.o: $(top_srcdir)/internal/io.h
|
||||
tcpsocket.o: $(top_srcdir)/internal/sanitizers.h
|
||||
tcpsocket.o: $(top_srcdir)/internal/serial.h
|
||||
tcpsocket.o: $(top_srcdir)/internal/set_table.h
|
||||
tcpsocket.o: $(top_srcdir)/internal/static_assert.h
|
||||
tcpsocket.o: $(top_srcdir)/internal/string.h
|
||||
tcpsocket.o: $(top_srcdir)/internal/thread.h
|
||||
@ -2735,6 +2747,7 @@ udpsocket.o: $(top_srcdir)/internal/imemo.h
|
||||
udpsocket.o: $(top_srcdir)/internal/io.h
|
||||
udpsocket.o: $(top_srcdir)/internal/sanitizers.h
|
||||
udpsocket.o: $(top_srcdir)/internal/serial.h
|
||||
udpsocket.o: $(top_srcdir)/internal/set_table.h
|
||||
udpsocket.o: $(top_srcdir)/internal/static_assert.h
|
||||
udpsocket.o: $(top_srcdir)/internal/string.h
|
||||
udpsocket.o: $(top_srcdir)/internal/thread.h
|
||||
@ -2946,6 +2959,7 @@ unixserver.o: $(top_srcdir)/internal/imemo.h
|
||||
unixserver.o: $(top_srcdir)/internal/io.h
|
||||
unixserver.o: $(top_srcdir)/internal/sanitizers.h
|
||||
unixserver.o: $(top_srcdir)/internal/serial.h
|
||||
unixserver.o: $(top_srcdir)/internal/set_table.h
|
||||
unixserver.o: $(top_srcdir)/internal/static_assert.h
|
||||
unixserver.o: $(top_srcdir)/internal/string.h
|
||||
unixserver.o: $(top_srcdir)/internal/thread.h
|
||||
@ -3157,6 +3171,7 @@ unixsocket.o: $(top_srcdir)/internal/imemo.h
|
||||
unixsocket.o: $(top_srcdir)/internal/io.h
|
||||
unixsocket.o: $(top_srcdir)/internal/sanitizers.h
|
||||
unixsocket.o: $(top_srcdir)/internal/serial.h
|
||||
unixsocket.o: $(top_srcdir)/internal/set_table.h
|
||||
unixsocket.o: $(top_srcdir)/internal/static_assert.h
|
||||
unixsocket.o: $(top_srcdir)/internal/string.h
|
||||
unixsocket.o: $(top_srcdir)/internal/thread.h
|
||||
|
4
vm.c
4
vm.c
@ -3131,7 +3131,7 @@ ruby_vm_destruct(rb_vm_t *vm)
|
||||
rb_vm_postponed_job_free();
|
||||
|
||||
rb_id_table_free(vm->constant_cache);
|
||||
st_free_table(vm->unused_block_warning_table);
|
||||
set_free_table(vm->unused_block_warning_table);
|
||||
|
||||
xfree(th->nt);
|
||||
th->nt = NULL;
|
||||
@ -4306,7 +4306,7 @@ Init_BareVM(void)
|
||||
vm->negative_cme_table = rb_id_table_create(16);
|
||||
vm->overloaded_cme_table = st_init_numtable();
|
||||
vm->constant_cache = rb_id_table_create(0);
|
||||
vm->unused_block_warning_table = st_init_numtable();
|
||||
vm->unused_block_warning_table = set_init_numtable();
|
||||
|
||||
// setup main thread
|
||||
th->nt = ZALLOC(struct rb_native_thread);
|
||||
|
@ -120,6 +120,7 @@ extern int ruby_assert_critical_section_entered;
|
||||
#include "internal/basic_operators.h"
|
||||
#include "internal/sanitizers.h"
|
||||
#include "internal/serial.h"
|
||||
#include "internal/set_table.h"
|
||||
#include "internal/vm.h"
|
||||
#include "method.h"
|
||||
#include "node.h"
|
||||
@ -791,7 +792,7 @@ typedef struct rb_vm_struct {
|
||||
st_table *ci_table;
|
||||
struct rb_id_table *negative_cme_table;
|
||||
st_table *overloaded_cme_table; // cme -> overloaded_cme
|
||||
st_table *unused_block_warning_table;
|
||||
set_table *unused_block_warning_table;
|
||||
|
||||
// This id table contains a mapping from ID to ICs. It does this with ID
|
||||
// keys and nested st_tables as values. The nested tables have ICs as keys
|
||||
|
@ -3034,7 +3034,7 @@ static void
|
||||
warn_unused_block(const rb_callable_method_entry_t *cme, const rb_iseq_t *iseq, void *pc)
|
||||
{
|
||||
rb_vm_t *vm = GET_VM();
|
||||
st_table *dup_check_table = vm->unused_block_warning_table;
|
||||
set_table *dup_check_table = vm->unused_block_warning_table;
|
||||
st_data_t key;
|
||||
bool strict_unused_block = rb_warning_category_enabled_p(RB_WARN_CATEGORY_STRICT_UNUSED_BLOCK);
|
||||
|
||||
@ -3051,7 +3051,7 @@ warn_unused_block(const rb_callable_method_entry_t *cme, const rb_iseq_t *iseq,
|
||||
if (!strict_unused_block) {
|
||||
key = (st_data_t)cme->def->original_id;
|
||||
|
||||
if (st_lookup(dup_check_table, key, NULL)) {
|
||||
if (set_lookup(dup_check_table, key)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -3071,7 +3071,7 @@ warn_unused_block(const rb_callable_method_entry_t *cme, const rb_iseq_t *iseq,
|
||||
}
|
||||
|
||||
// duplication check
|
||||
if (st_insert(dup_check_table, key, 1)) {
|
||||
if (set_insert(dup_check_table, key)) {
|
||||
// already shown
|
||||
}
|
||||
else if (RTEST(ruby_verbose) || strict_unused_block) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user