Can anybody point me to code that gets run when accessing a property on a DOM node in OSS rendering engines?
But assuming a vmcall happens and type inference works, you jump to something like https://dxr.mozilla.org/mozilla-central/search?q=function%3Amozilla%3A%3Adom%3A%3ANodeBinding%3A%3Aget_firstChild … direct from jitcode
-
-
But note that there is also some jitcode overhead for the vmcall, etc.
-
In general, for Gecko a prop get that does an actual vmcall will be about 20-30 machine instructions plus the C++ getter cost.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.