mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
codegen.c (new_litbint): renamed from new_litbn.
This commit is contained in:
@@ -1001,7 +1001,7 @@ lit_pool_extend(codegen_scope *s)
|
||||
}
|
||||
|
||||
static int
|
||||
new_litbn(codegen_scope *s, const char *p, int base, mrb_bool neg)
|
||||
new_litbint(codegen_scope *s, const char *p, int base, mrb_bool neg)
|
||||
{
|
||||
int i;
|
||||
size_t plen;
|
||||
@@ -3294,7 +3294,7 @@ codegen(codegen_scope *s, node *tree, int val)
|
||||
|
||||
i = readint(s, p, base, FALSE, &overflow);
|
||||
if (overflow) {
|
||||
int off = new_litbn(s, p, base, FALSE);
|
||||
int off = new_litbint(s, p, base, FALSE);
|
||||
genop_2(s, OP_LOADL, cursp(), off);
|
||||
}
|
||||
else {
|
||||
@@ -3343,7 +3343,7 @@ codegen(codegen_scope *s, node *tree, int val)
|
||||
|
||||
i = readint(s, p, base, TRUE, &overflow);
|
||||
if (overflow) {
|
||||
int off = new_litbn(s, p, base, TRUE);
|
||||
int off = new_litbint(s, p, base, TRUE);
|
||||
genop_2(s, OP_LOADL, cursp(), off);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user