From 8a52dbdb2a7f54a441a4ab79dafc191be2df17c1 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Mon, 15 Jan 2018 07:30:43 +0000 Subject: ruby_aligned_char no longer needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 2 +- include/ruby/ruby.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/compile.c b/compile.c index 31cb3d0ae2..98004b65a0 100644 --- a/compile.c +++ b/compile.c @@ -8077,7 +8077,7 @@ struct ibf_dump { rb_iseq_t * iseq_alloc(void); struct ibf_load { - const ruby_aligned_char *buff; + const RUBY_ALIGNAS(sizeof(VALUE)) char *buff; const struct ibf_header *header; ID *id_list; /* [id0, ...] */ VALUE iseq_list; /* [iseq0, ...] */ diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index b1d470163c..12b83cf7ab 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -950,8 +950,6 @@ enum ruby_rstring_flags { RSTRING_ENUM_END }; -typedef RUBY_ALIGNAS(SIZEOF_VALUE) char ruby_aligned_char; - struct RString { struct RBasic basic; union { -- cgit v1.2.3