Updated caller_prologue and caller_epilogue to handle zero cases.