summaryrefslogtreecommitdiffhomepage
path: root/src/state.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-07-21 21:55:52 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-07-21 21:55:52 +0900
commit4cc9e5d8b17acbebadad1508300f092db775f361 (patch)
tree9917098c208efd90b0e50a5e13347e411208b3b3 /src/state.c
parentbeafed110405ad754f67f03c409e78d348d9f51d (diff)
downloadmruby-4cc9e5d8b17acbebadad1508300f092db775f361.tar.gz
mruby-4cc9e5d8b17acbebadad1508300f092db775f361.zip
since #1441, NaN boxing with 64bit pointer works; close #2476
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/state.c b/src/state.c
index ff0182f22..69ac95968 100644
--- a/src/state.c
+++ b/src/state.c
@@ -29,10 +29,6 @@ mrb_open_core(mrb_allocf f, void *ud)
static const struct mrb_context mrb_context_zero = { 0 };
mrb_state *mrb;
-#ifdef MRB_NAN_BOXING
- mrb_static_assert(sizeof(void*) == 4, "when using NaN boxing sizeof pointer must be 4 byte");
-#endif
-
mrb = (mrb_state *)(f)(NULL, NULL, sizeof(mrb_state), ud);
if (mrb == NULL) return NULL;