diff --git a/src/rt/arch/i386/morestack.S b/src/rt/arch/i386/morestack.S index c4090df109d8e2920da376304e4d6ac20ae5c633..7a4c56aeb0b28ada2be711f7c7ad2beb86b3f56d 100644 --- a/src/rt/arch/i386/morestack.S +++ b/src/rt/arch/i386/morestack.S @@ -201,9 +201,6 @@ MORESTACK: // Save the return value of the function we allocated space for movl %eax, (%esp) - // Now that we're on the return path we want to avoid - // stomping on %eax. FIXME: Need to save and restore %eax to - // actually preserve it across the call to delete the stack call UPCALL_DEL_STACK // And restore it diff --git a/src/rt/arch/x86_64/morestack.S b/src/rt/arch/x86_64/morestack.S index f4d897f1cf4a8c13e931f9bfe19d05dc606b961b..2b118e4a0594735d968afe152163b3bf27445e57 100644 --- a/src/rt/arch/x86_64/morestack.S +++ b/src/rt/arch/x86_64/morestack.S @@ -103,7 +103,6 @@ MORESTACK: // Save the return value pushq %rax - // FIXME: Should preserve %rax here #ifdef __APPLE__ call UPCALL_DEL_STACK #endif