summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-31 17:45:35 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-31 17:45:35 +0900
commite44870c2253a47c0fa989a4a188a7164735fec03 (patch)
treedcf2df71e8e78899f0bda5a10bc20daee3d1dbe5 /gc.c
parent49918b398463121a7df9e1b4de2c3d061125b8db (diff)
Removed static assertion about size of `RVALUE`
It is unable where unaligned word access is disallowed and `double` is wider than pointers.
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 fa294b1f99..ad448598ef 100644
--- a/gc.c
+++ b/gc.c
@@ -608,8 +608,6 @@ typedef struct RVALUE {
#pragma pack(pop)
#endif
-STATIC_ASSERT(sizeof_rvalue, sizeof(RVALUE) == 5*SIZEOF_VALUE);
-
typedef uintptr_t bits_t;
enum {
BITS_SIZE = sizeof(bits_t),