diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-06-15 08:55:48 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:11 +0900 |
| commit | ee111dd175f3242649d87a4600e2bad62e8e0940 (patch) | |
| tree | cabfe4a193075d9110ea3608e8dc4c3bb835e280 /mrbgems/mruby-compiler/core/codegen.c | |
| parent | f0c11269977e83f2e578a32134d4b65a2cf72ec0 (diff) | |
| download | mruby-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 'mrbgems/mruby-compiler/core/codegen.c')
| -rw-r--r-- | mrbgems/mruby-compiler/core/codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/core/codegen.c b/mrbgems/mruby-compiler/core/codegen.c index 5d29dcb2d..25e157736 100644 --- a/mrbgems/mruby-compiler/core/codegen.c +++ b/mrbgems/mruby-compiler/core/codegen.c @@ -588,7 +588,7 @@ new_lit(codegen_scope *s, mrb_value val) if (pv->tt == IREP_TT_INT32) { if (v == pv->u.i32) return i; } -#ifdef MRB_INT64 +#ifdef MRB_64BIT else if (pv->tt == IREP_TT_INT64) { if (v == pv->u.i64) return i; } |
