diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2020-10-05 12:46:14 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:24 -0400 |
commit | 2790428e55f4e6113dcd60c716d464d4c2193903 (patch) | |
tree | 47d13c934592442fc90ae7ca41a912daf66fab93 /tool/ruby_vm | |
parent | 7e400ddc791fc4111cbfb273574657c41ca5b22e (diff) | |
download | ruby-2790428e55f4e6113dcd60c716d464d4c2193903.tar.gz |
Zero sized array are not standard C
Diffstat (limited to 'tool/ruby_vm')
-rw-r--r-- | tool/ruby_vm/models/micro_jit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ruby_vm/models/micro_jit.rb b/tool/ruby_vm/models/micro_jit.rb index eb20fe7335..b2ce26cb3a 100644 --- a/tool/ruby_vm/models/micro_jit.rb +++ b/tool/ruby_vm/models/micro_jit.rb @@ -179,7 +179,7 @@ module RubyVM::MicroJIT [true, comma_separated_hex_string(@pre_call_bytes), comma_separated_hex_string(@post_call_bytes)] rescue => e print_warning("scrape failed: #{e.message}") - [false, '', ''] + [false, '0xcc', '0xcc'] end def print_warning(text) |