Clarify the use of MRB_64BIT and MRB_INT64 in dump.c and load.c.

- `MRB_64BIT`: the size of a pointer is 64 bits
- `MRB_INT64`: the size of `mrb_int` is 64 bits
This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-06-15 08:55:48 +09:00
parent f0c1126997
commit ee111dd175
6 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ codedump(mrb_state *mrb, const mrb_irep *irep)
case IREP_TT_INT32:
printf("OP_LOADL\tR%d\tL(%d)\t; %" PRId32, a, b, irep->pool[b].u.i32);
break;
#ifdef MRB_INT64
#ifdef MRB_64BIT
case IREP_TT_INT64:
printf("OP_LOADL\tR%d\tL(%d)\t; %" PRId64, a, b, irep->pool[b].u.i64);
break;