Skip to content

Commit f802b49

Browse files
committed
clean up some ops definitions
1 parent f8a37df commit f802b49

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/ops/nqp.ops

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2130,7 +2130,7 @@ Checks if the type of thing in $2 is a nqp list (either QRPA or RPA).
21302130

21312131
*/
21322132
inline op nqp_islist(out INT, invar PMC) :base_core {
2133-
$1 = nqp_islist($2)
2133+
$1 = nqp_islist($2);
21342134
}
21352135

21362136
/*
@@ -2143,7 +2143,7 @@ Checks if the type of thing in $2 is a nqp hash.
21432143

21442144
*/
21452145
inline op nqp_ishash(out INT, invar PMC) :base_core {
2146-
$1 = nqp_ishash($2)
2146+
$1 = nqp_ishash($2);
21472147
}
21482148

21492149
/*

src/ops/nqp_bigint.ops

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ inline op nqp_bigint_pow(out PMC, invar PMC, invar PMC, invar PMC, invar PMC) :b
541541

542542

543543
/* XXX a bit ugly that it reuses cmp, but safe for now */
544-
cmp = mp_cmp_d(base, 0)
544+
cmp = mp_cmp_d(base, 0);
545545
if (MP_EQ == cmp || MP_EQ == mp_cmp_d(base, 1)) {
546546
/* 0 ** $big_number and 1 ** big_number are easy to do: */
547547
$1 = REPR($2)->allocate(interp, STABLE($2));

src/ops/nqp_dyncall.ops

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,6 @@ inline op nqp_native_call(out PMC, invar PMC, invar PMC, invar PMC) :base_core {
10401040
case DYNCALL_ARG_CSTRUCT:
10411041
dyncall_wb_cs(interp, value);
10421042
break;
1043-
default: /* Noop to eliminate warning. */
10441043
}
10451044
}
10461045

0 commit comments

Comments
 (0)