LazyNode comparison can return incorrect results when comparing an empty value
Created attachment 253813 [details] Patch
Comment on attachment 253813 [details] Patch r=me
Committed r184927: <http://trac.webkit.org/changeset/184927>
Did this bug have a symptom? Can we make a regression test?
(In reply to comment #4) > Did this bug have a symptom? Can we make a regression test? I don't think there is a code path that can trigger this bug in ToT. LazyNode has been introduced recently (http://trac.webkit.org/changeset/184776), and as far as I know, the only place where we are comparing them is when comparing the indexes of HeapLocations, and then only after we ensured the kind/heap/base are equal. As the heap + kind of a HeapLocation determine whether is has an index or not, the comparison of LazyNodes won't be reached in the case where only one is non-null.