mirror of
https://github.com/janet-lang/janet
synced 2025-11-20 01:05:12 +00:00
Add a few asserts to quiet some of the -fanalyze calls in gcc 13.
This commit is contained in:
@@ -314,6 +314,7 @@ static Janet doframe(JanetStackFrame *frame) {
|
||||
if (frame->func && frame->pc) {
|
||||
Janet *stack = (Janet *)frame + JANET_FRAME_SIZE;
|
||||
JanetArray *slots;
|
||||
janet_assert(def != NULL, "def != NULL");
|
||||
off = (int32_t)(frame->pc - def->bytecode);
|
||||
janet_table_put(t, janet_ckeywordv("pc"), janet_wrap_integer(off));
|
||||
if (def->sourcemap) {
|
||||
|
||||
Reference in New Issue
Block a user