mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
UserspaceEmulator: Remove unnecessary local getpid() caches
Now that LibC caches this for us, we can stop worrying.
This commit is contained in:
parent
b820e4626c
commit
d1dd5013ea
3 changed files with 14 additions and 18 deletions
|
@ -191,8 +191,6 @@ bool Emulator::is_in_malloc_or_free() const
|
|||
return (m_cpu.eip() >= m_malloc_symbol_start && m_cpu.eip() < m_malloc_symbol_end) || (m_cpu.eip() >= m_free_symbol_start && m_cpu.eip() < m_free_symbol_end);
|
||||
}
|
||||
|
||||
static pid_t s_pid = getpid();
|
||||
|
||||
Vector<FlatPtr> Emulator::raw_backtrace()
|
||||
{
|
||||
Vector<FlatPtr> backtrace;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue