Skip to content

Commit 01c2c57

Browse files
committed
Revert "assertions"
This reverts commit 2509172.
1 parent 841e70e commit 01c2c57

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/lj_trace.c

-6
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
#include "lj_sysprof.h"
3838
#endif
3939

40-
#include <assert.h>
41-
4240
/* -- Error handling ------------------------------------------------------ */
4341

4442
/* Synchronous abort with error message. */
@@ -628,16 +626,12 @@ static int trace_abort(jit_State *J)
628626
for (frame = J->L->base-1, pc = J->pc; ; frame = frame_prev(frame)) {
629627
if (isluafunc(frame_func(frame))) {
630628
pos = proto_bcpos(funcproto(frame_func(frame)), pc);
631-
assert(1 != 1);
632629
break;
633630
} else if (frame_prev(frame) <= bot) {
634-
assert(2 != 2);
635631
break;
636632
} else if (frame_iscont(frame)) {
637-
assert(3 != 3);
638633
pc = frame_contpc(frame) - 1;
639634
} else {
640-
assert(4 != 4);
641635
pc = frame_pc(frame) - 1;
642636
}
643637
}

0 commit comments

Comments
 (0)