mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user