summaryrefslogtreecommitdiffhomepage
path: root/src/codedump.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-06-15 08:55:48 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:11 +0900
commitee111dd175f3242649d87a4600e2bad62e8e0940 (patch)
treecabfe4a193075d9110ea3608e8dc4c3bb835e280 /src/codedump.c
parentf0c11269977e83f2e578a32134d4b65a2cf72ec0 (diff)
downloadmruby-ee111dd175f3242649d87a4600e2bad62e8e0940.tar.gz
mruby-ee111dd175f3242649d87a4600e2bad62e8e0940.zip
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
Diffstat (limited to 'src/codedump.c')
-rw-r--r--src/codedump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codedump.c b/src/codedump.c
index fd73f3104..0e90f22db 100644
--- a/src/codedump.c
+++ b/src/codedump.c
@@ -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;