summaryrefslogtreecommitdiff
path: root/bytecode.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bytecode.pl')
-rw-r--r--bytecode.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/bytecode.pl b/bytecode.pl
index 93457eaaed..c9bb491009 100644
--- a/bytecode.pl
+++ b/bytecode.pl
@@ -102,7 +102,8 @@ bset_obj_store(void *obj, I32 ix)
return obj;
}
-void byterun(struct bytestream bs)
+void
+byterun(pTHX_ struct bytestream bs)
{
dTHR;
int insn;
@@ -173,7 +174,7 @@ EOT
#
print BYTERUN_C <<'EOT';
default:
- croak("Illegal bytecode instruction %d\n", insn);
+ Perl_croak(aTHX_ "Illegal bytecode instruction %d\n", insn);
/* NOTREACHED */
}
}