diff --git a/ChangeLog b/ChangeLog index 6f4cc3014b..1c3733f528 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 16 19:55:32 2014 Naohisa Goto + + * 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 * ext/win32ole/win32ole.c (fole_record_method_missing): call diff --git a/vm_core.h b/vm_core.h index 39dce05c99..b284351b52 100644 --- a/vm_core.h +++ b/vm_core.h @@ -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;