enum value grater than int is a GCCism

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2018-01-02 06:41:52 +00:00
Родитель 8ebe5da2b3
Коммит a5a5714b77
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -1018,7 +1018,7 @@ enum {
* X : tag for GC marking (It seems as Fixnum) * X : tag for GC marking (It seems as Fixnum)
* EEE : 3 bits Env flags * EEE : 3 bits Env flags
* FF..: 6 bits Frame flags * FF..: 6 bits Frame flags
* MM..: 16 bits frame magic (to check frame corruption) * MM..: 15 bits frame magic (to check frame corruption)
*/ */
/* frame types */ /* frame types */
@ -1029,10 +1029,10 @@ enum {
VM_FRAME_MAGIC_CFUNC = 0x55550001, VM_FRAME_MAGIC_CFUNC = 0x55550001,
VM_FRAME_MAGIC_IFUNC = 0x66660001, VM_FRAME_MAGIC_IFUNC = 0x66660001,
VM_FRAME_MAGIC_EVAL = 0x77770001, VM_FRAME_MAGIC_EVAL = 0x77770001,
VM_FRAME_MAGIC_RESCUE = 0x88880001, VM_FRAME_MAGIC_RESCUE = 0x78880001,
VM_FRAME_MAGIC_DUMMY = 0x99990001, VM_FRAME_MAGIC_DUMMY = 0x79990001,
VM_FRAME_MAGIC_MASK = 0xffff0001, VM_FRAME_MAGIC_MASK = 0x7fff0001,
/* frame flag */ /* frame flag */
VM_FRAME_FLAG_PASSED = 0x0010, VM_FRAME_FLAG_PASSED = 0x0010,