From 4cc9e5d8b17acbebadad1508300f092db775f361 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 21 Jul 2014 21:55:52 +0900 Subject: since #1441, NaN boxing with 64bit pointer works; close #2476 --- src/state.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/state.c') 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; -- cgit v1.2.3