mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +00:00
UserspaceEmulator: Add fast-path for is<MmapRegion>()
Don't use default RTTI for these since they are performance-sensitive.
This commit is contained in:
parent
656cd477c2
commit
82aea65bd3
Notes:
sideshowbarker
2024-07-18 21:34:32 +09:00
Author: https://github.com/awesomekling
Commit: 82aea65bd3
4 changed files with 11 additions and 3 deletions
|
@ -82,4 +82,7 @@ private:
|
|||
String m_name;
|
||||
};
|
||||
|
||||
template<>
|
||||
inline bool Region::fast_is<MmapRegion>() const { return m_mmap; }
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue