Object.create creates uncachable objects
Created attachment 90645 [details] Patch
Comment on attachment 90645 [details] Patch r=me
Committed r84583: <http://trac.webkit.org/changeset/84583>
http://trac.webkit.org/changeset/84583 might have broken Qt Linux Release The following tests are not passing: fast/js/Object-create.html
Broke a test: http://build.webkit.org/results/GTK%20Linux%2064-bit%20Debug/r84585%20(21737)/fast/js/Object-create-pretty-diff.html FAIL Object.getPrototypeOf(Object.create(null)) should be null. Was [object Object]. You changed to unconditionally use an empty object prototype, even if null is passed in.
BTW, I think the right way to fix this is to give JSGlobalObject (or maybe JSGlobalData) a nullPrototypeStructure, just like the emptyObjectStructure. That way, Object.create will be correct for null prototypes, and still efficient.
Created attachment 90757 [details] Patch
Comment on attachment 90757 [details] Patch r=me
http://trac.webkit.org/changeset/84679 might have broken GTK Linux 64-bit Debug
Committed r84679: <http://trac.webkit.org/changeset/84679>