summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-16 15:51:01 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-16 15:51:01 +0000
commite5347b1c905acc58d98f9497d8edcb0f78729db6 (patch)
tree6f20ed5258ef7ec43984076d37fc67b0cef5d48b /gc.c
parentf450652becfaa6561399455a28211081704b0228 (diff)
Revert "Assert that union sizes match"
This reverts commit r67078. It breaks armv7l-linux-eabihf and sparc-solaris2.11. http://rubyci.s3.amazonaws.com/scw-9d6766/ruby-trunk/log/20190215T061708Z.diff.html.gz http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20190215T072546Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gc.c b/gc.c
index 2b00eb8c4e..9f6dd75400 100644
--- a/gc.c
+++ b/gc.c
@@ -449,8 +449,6 @@ typedef struct RVALUE {
#pragma pack(pop)
#endif
-STATIC_ASSERT(rvalue_size, sizeof(((RVALUE*)0)->as) == sizeof(((RVALUE*)0)->as.values));
-
typedef uintptr_t bits_t;
enum {
BITS_SIZE = sizeof(bits_t),