diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-12 13:14:53 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-12 13:14:53 +0000 |
commit | 84012cd19fd3cf1fb3ce68d4da224b76fb75b18e (patch) | |
tree | c724b3bc0d3e230d9a930385dec89478aff7bc53 /tool/ruby_vm | |
parent | 4b190c4852895cc78b7594c884ba3ed091f82400 (diff) | |
download | ruby-84012cd19fd3cf1fb3ce68d4da224b76fb75b18e.tar.gz |
merge revision: 61746
`signed` is required for Rasbian (x86_64).
* tool/ruby_vm/views/_insn_stack_increase.erb: specify `signed` explicitly
for systems which use `unsigned` for `char` type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/ruby_vm')
-rw-r--r-- | tool/ruby_vm/views/_insn_stack_increase.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ruby_vm/views/_insn_stack_increase.erb b/tool/ruby_vm/views/_insn_stack_increase.erb index 566e06c95e..bfe0a3dc6b 100644 --- a/tool/ruby_vm/views/_insn_stack_increase.erb +++ b/tool/ruby_vm/views/_insn_stack_increase.erb @@ -23,7 +23,7 @@ insn_stack_increase_dispatch(enum ruby_vminsn_type insn, const VALUE *opes) }.join(', ') -%>, % end }; - char c = t[insn]; + signed char c = t[insn]; ASSERT_VM_INSTRUCTION_SIZE(t); if (c != -127) { |