native,cte: remove redundant instruction in __am_kcontext_start
This commit is contained in:
parent
2fb8c708c6
commit
e0e082bd6a
|
@ -1,12 +1,10 @@
|
|||
.global __am_kcontext_start
|
||||
|
||||
__am_kcontext_start:
|
||||
// rdi = arg, rsi = entry
|
||||
|
||||
// (rsp + 8) should be multiple of 16 when
|
||||
// control is transfered to the function entry point.
|
||||
// See amd64 ABI manual for more details
|
||||
subq $8, %rsp
|
||||
andq $0xfffffffffffffff0, %rsp
|
||||
call *%rsi
|
||||
call __am_panic_on_return
|
||||
|
|
Loading…
Reference in New Issue