Move always-inline bitwise and relational comparison operations into Interpreter.cpp
Categories
(Core :: JavaScript Engine: JIT, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
Details
Attachments
(3 files)
Follow-up from https://phabricator.services.mozilla.com/D69799#2120268.
js::BitNot
& co. are marked as MOZ_ALWAYS_INLINE
, but when called from IC fallback code or from recover instructions we hardly need to use an inlined version.
Assignee | ||
Comment 1•5 years ago
|
||
(We could probably move most of Interpreter-inl.h
into Interpreter.cpp
, but this bug will only tackle bitwise and relational comparison operations.)
Assignee | ||
Comment 2•5 years ago
|
||
Moves the always-inline functions into Interpreter.cpp and appends "Operation"
to the function name, similar to how the inlined arithmetic functions are named.
Assignee | ||
Comment 3•5 years ago
|
||
This function is only called from jit/Recover.cpp. Replace it with a directly
inlined version.
Depends on D70184
Assignee | ||
Comment 4•5 years ago
|
||
Similar to part 1, move the relational comparison operations into Interpreter.cpp.
Depends on D70185
Updated•5 years ago
|
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8fef10d2f90b
https://hg.mozilla.org/mozilla-central/rev/e5e0ff980687
https://hg.mozilla.org/mozilla-central/rev/fe9ec0f93b28
Description
•