summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-02 06:41:52 (GMT)
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-02 06:41:52 (GMT)
commita5a5714b77ff356742fe0fceab1d97ac123116e0 (patch)
treeb9c6f00379d33213f5f0d18c8a73833e46c2b28c /vm_core.h
parent8ebe5da2b34042850fcbb74b8d70bc5567bb3f70 (diff)
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
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/vm_core.h b/vm_core.h
index 16ee74b..3691d13 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -1018,7 +1018,7 @@ enum {
* X : tag for GC marking (It seems as Fixnum)
* EEE : 3 bits Env 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 */
@@ -1029,10 +1029,10 @@ enum {
VM_FRAME_MAGIC_CFUNC = 0x55550001,
VM_FRAME_MAGIC_IFUNC = 0x66660001,
VM_FRAME_MAGIC_EVAL = 0x77770001,
- VM_FRAME_MAGIC_RESCUE = 0x88880001,
- VM_FRAME_MAGIC_DUMMY = 0x99990001,
+ VM_FRAME_MAGIC_RESCUE = 0x78880001,
+ VM_FRAME_MAGIC_DUMMY = 0x79990001,
- VM_FRAME_MAGIC_MASK = 0xffff0001,
+ VM_FRAME_MAGIC_MASK = 0x7fff0001,
/* frame flag */
VM_FRAME_FLAG_PASSED = 0x0010,