diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-07-21 21:55:52 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-07-21 21:55:52 +0900 |
| commit | 4cc9e5d8b17acbebadad1508300f092db775f361 (patch) | |
| tree | 9917098c208efd90b0e50a5e13347e411208b3b3 /src/state.c | |
| parent | beafed110405ad754f67f03c409e78d348d9f51d (diff) | |
| download | mruby-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.c | 4 |
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; |
