mrb_sym can be short integer; reduced 10KB

This commit is contained in:
Yukihiro Matsumoto
2012-09-12 16:20:32 +09:00
parent 3a49dfd198
commit 540066c9e2
3 changed files with 95 additions and 92 deletions
+1 -2
View File
@@ -62,11 +62,10 @@ typedef double mrb_float;
#ifdef MRB_NAN_BOXING
typedef int32_t mrb_int;
typedef int32_t mrb_sym;
#else
typedef int mrb_int;
typedef intptr_t mrb_sym;
#endif
typedef short mrb_sym;
/* define ENABLE_XXXX from DISABLE_XXX */
#ifndef DISABLE_REGEXP