summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-08-18 21:32:36 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:47 +0900
commit55163a8a0a5737e9113f16d0f03b7ab4258706ba (patch)
treed82ac663a0ef770cf0dad70660bc8f2e711459d5 /mrbgems/mruby-compiler
parent867268897acb8a41153950362bc2156cf60f7051 (diff)
downloadmruby-55163a8a0a5737e9113f16d0f03b7ab4258706ba.tar.gz
mruby-55163a8a0a5737e9113f16d0f03b7ab4258706ba.zip
Rename `MRB_TT_FIXNUM` to `MRB_TT_INTEGER`.
We still have `#define MRB_TT_FIXNUM MRB_TT_INTEGER` for compatibility.
Diffstat (limited to 'mrbgems/mruby-compiler')
-rw-r--r--mrbgems/mruby-compiler/core/codegen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-compiler/core/codegen.c b/mrbgems/mruby-compiler/core/codegen.c
index 372a2c5f7..72ae0a3a9 100644
--- a/mrbgems/mruby-compiler/core/codegen.c
+++ b/mrbgems/mruby-compiler/core/codegen.c
@@ -543,7 +543,7 @@ new_lit(codegen_scope *s, mrb_value val)
}
break;
#endif
- case MRB_TT_FIXNUM:
+ case MRB_TT_INTEGER:
for (i=0; i<s->irep->plen; i++) {
mrb_int v = mrb_fixnum(val);
pv = &s->pool[i];
@@ -594,7 +594,7 @@ new_lit(codegen_scope *s, mrb_value val)
pv->u.f = mrb_float(val);
break;
#endif
- case MRB_TT_FIXNUM:
+ case MRB_TT_INTEGER:
#ifdef MRB_INT64
pv->tt = IREP_TT_INT64;
pv->u.i64 = mrb_fixnum(val);