mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
pkg,service: remove unnecessary convertions (#3564)
This commit is contained in:
@ -251,7 +251,7 @@ func (it *stackIterator) Next() bool {
|
||||
it.regs = *regs
|
||||
it.top = false
|
||||
if it.g != nil && it.g.ID != 0 {
|
||||
it.systemstack = !(uint64(it.regs.SP()) >= it.g.stack.lo && uint64(it.regs.SP()) < it.g.stack.hi)
|
||||
it.systemstack = !(it.regs.SP() >= it.g.stack.lo && it.regs.SP() < it.g.stack.hi)
|
||||
}
|
||||
logflags.StackLogger().Debugf("sigtramp context read")
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user