op_eq_null and op_neq_null take up 1.9% and 1.8% of the total Shark time on the V8 Richards benchmark. It should be possible to optimize them further.
Once Darin finishes giving StructureIDs to all DOM objects, we can move the masqueradesAsUndefined() bit into the StructureID, instead of a virtual function. Then, op_eq_null and op_neq_null can be completely inlined.
*** Bug 20984 has been marked as a duplicate of this bug. ***
Created attachment 23649 [details] path that speeds up eq_nul / neq_null
Don't you need to add the new file in WebCore to the other project files?
Comment on attachment 23649 [details] path that speeds up eq_nul / neq_null r=me, but please patch all project files.
Landed (w/ fixes to other project files).
(In reply to comment #6) > Landed (w/ fixes to other project files). r36764