1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* vm_core.h (struct rb_iseq_struct): temporal workaround of [Bug 10037].

Add padding on big-endian 64-bit architecture (e.g. sparc64).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ngoto 2014-07-16 11:04:01 +00:00
parent 25ece76ec8
commit e49a7bed21
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Wed Jul 16 19:55:32 2014 Naohisa Goto <ngotogenome@gmail.com>
* vm_core.h (struct rb_iseq_struct): temporal workaround of [Bug 10037].
Add padding on big-endian 64-bit architecture (e.g. sparc64).
Wed Jul 16 19:32:23 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp> Wed Jul 16 19:32:23 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* ext/win32ole/win32ole.c (fole_record_method_missing): call * ext/win32ole/win32ole.c (fole_record_method_missing): call

View file

@ -205,6 +205,9 @@ struct rb_iseq_struct {
ISEQ_TYPE_MAIN, ISEQ_TYPE_MAIN,
ISEQ_TYPE_DEFINED_GUARD ISEQ_TYPE_DEFINED_GUARD
} type; /* instruction sequence type */ } type; /* instruction sequence type */
#if defined(WORDS_BIGENDIAN) && (SIZEOF_VALUE > SIZEOF_INT)
char dummy[SIZEOF_VALUE - SIZEOF_INT]; /* [Bug #10037][ruby-core:63721] */
#endif
uint32_t stack_max; /* for stack overflow check */ uint32_t stack_max; /* for stack overflow check */
rb_iseq_location_t location; rb_iseq_location_t location;