native,cte: remove redundant instruction in __am_kcontext_start

This commit is contained in:
Zihao Yu 2020-02-08 21:47:18 +08:00
parent 2fb8c708c6
commit e0e082bd6a
1 changed files with 0 additions and 2 deletions

View File

@ -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