ruby-changes:34755
From: ngoto <ko1@a...>
Date: Wed, 16 Jul 2014 20:04:11 +0900 (JST)
Subject: [ruby-changes:34755] ngoto:r46838 (trunk): * vm_core.h (struct rb_iseq_struct): temporal workaround of [Bug 10037].
ngoto 2014-07-16 20:04:01 +0900 (Wed, 16 Jul 2014) New Revision: 46838 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46838 Log: * vm_core.h (struct rb_iseq_struct): temporal workaround of [Bug 10037]. Add padding on big-endian 64-bit architecture (e.g. sparc64). Modified files: trunk/ChangeLog trunk/vm_core.h Index: ChangeLog =================================================================== --- ChangeLog (revision 46837) +++ ChangeLog (revision 46838) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Jul 16 19:55:32 2014 Naohisa Goto <ngotogenome@g...> + + * 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@n...> * ext/win32ole/win32ole.c (fole_record_method_missing): call Index: vm_core.h =================================================================== --- vm_core.h (revision 46837) +++ vm_core.h (revision 46838) @@ -205,6 +205,9 @@ struct rb_iseq_struct { https://github.com/ruby/ruby/blob/trunk/vm_core.h#L205 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; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/