From 20588eb489f98702778037b8ad26d8d3ca20d1c1 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Sat, 18 Jul 2020 09:12:39 -0400 Subject: [PATCH] refactor: remove extra asserts in SIGUSR1 --- runtime/src/software_interrupt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/runtime/src/software_interrupt.c b/runtime/src/software_interrupt.c index 7a93a8a..e857e3d 100644 --- a/runtime/src/software_interrupt.c +++ b/runtime/src/software_interrupt.c @@ -125,8 +125,6 @@ software_interrupt_handle_signals(int signal_type, siginfo_t *signal_info, void /* Extra checks to verify that preemption properly set context state */ assert(current_sandbox->ctxt.variant == ARCH_CONTEXT_SLOW); - assert(current_sandbox->ctxt.regs[UREG_RSP] == 0); - assert(current_sandbox->ctxt.regs[UREG_RIP] == 0); software_interrupt_SIGUSR_count++; debuglog("usr1:%d\n", software_interrupt_SIGUSR_count);