We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 841e70e commit 01c2c57Copy full SHA for 01c2c57
src/lj_trace.c
@@ -37,8 +37,6 @@
37
#include "lj_sysprof.h"
38
#endif
39
40
-#include <assert.h>
41
-
42
/* -- Error handling ------------------------------------------------------ */
43
44
/* Synchronous abort with error message. */
@@ -628,16 +626,12 @@ static int trace_abort(jit_State *J)
628
626
for (frame = J->L->base-1, pc = J->pc; ; frame = frame_prev(frame)) {
629
627
if (isluafunc(frame_func(frame))) {
630
pos = proto_bcpos(funcproto(frame_func(frame)), pc);
631
- assert(1 != 1);
632
break;
633
} else if (frame_prev(frame) <= bot) {
634
- assert(2 != 2);
635
636
} else if (frame_iscont(frame)) {
637
- assert(3 != 3);
638
pc = frame_contpc(frame) - 1;
639
} else {
640
- assert(4 != 4);
641
pc = frame_pc(frame) - 1;
642
}
643
0 commit comments