提交 be8b0916 编写于 作者: T Tim Chevalier

Try removing code marked with "I don't think this is necessary"

上级 290206b1
...@@ -213,15 +213,6 @@ MORESTACK: ...@@ -213,15 +213,6 @@ MORESTACK:
popl %ebp popl %ebp
// FIXME: I don't think these rules are necessary
// since the unwinder should never encounter an instruction
// pointer pointing here.
#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
// Restore the rule for how to find %ebp
.cfi_restore %ebp
// Tell the unwinder how to find the CFA in terms of %esp
.cfi_def_cfa %esp, 16
#endif
retl $8 retl $8
.L$bail: .L$bail:
......
...@@ -51,7 +51,7 @@ MORESTACK: ...@@ -51,7 +51,7 @@ MORESTACK:
subq $184, %rsp subq $184, %rsp
// FIXME: libgcc also saves rax. not sure if we need to // FIXME: libgcc also saves rax. not sure if we need to (#2685)
// Save argument registers of the original function // Save argument registers of the original function
movq %rdi, (%rsp) movq %rdi, (%rsp)
...@@ -133,11 +133,6 @@ MORESTACK: ...@@ -133,11 +133,6 @@ MORESTACK:
popq %rax // Restore the return value popq %rax // Restore the return value
popq %rbp popq %rbp
// FIXME: I don't think these rules are necessary
// since the unwinder should never encounter an instruction
// pointer pointing here.
.cfi_restore %rbp
.cfi_def_cfa %rsp, 16
ret ret
.cfi_endproc .cfi_endproc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册