diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | vm_core.h | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -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> * ext/win32ole/win32ole.c (fole_record_method_missing): call @@ -205,6 +205,9 @@ struct rb_iseq_struct { ISEQ_TYPE_MAIN, ISEQ_TYPE_DEFINED_GUARD } 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 */ rb_iseq_location_t location; |