Удалено неиспользуемое tinygo_scanCurrentStack
Этот коммит содержится в:
родитель
3fe4d0f1c5
коммит
f0b9f51481
2 изменённых файлов: 2 добавлений и 12 удалений
|
@ -49,9 +49,3 @@ call_start_cpu0_go:
|
|||
|
||||
// Jump to the runtime start function written in Go.
|
||||
call4 main
|
||||
|
||||
.section .text.tinygo_scanCurrentStack
|
||||
.global tinygo_scanCurrentStack
|
||||
tinygo_scanCurrentStack:
|
||||
// TODO: save callee saved registers on the stack
|
||||
j tinygo_scanstack
|
||||
|
|
|
@ -19,12 +19,8 @@ func markStack() {
|
|||
}
|
||||
}
|
||||
|
||||
//go:export tinygo_scanCurrentStack
|
||||
func scanCurrentStack()
|
||||
|
||||
//go:export tinygo_scanstack
|
||||
func scanstack(sp uintptr) {
|
||||
sp = getCurrentStackPointer()
|
||||
func scanCurrentStack() {
|
||||
sp := getCurrentStackPointer()
|
||||
// Mark current stack.
|
||||
// This function is called by scanCurrentStack, after pushing all registers onto the stack.
|
||||
// Callee-saved registers have been pushed onto stack by tinygo_localscan, so this will scan them too.
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче