Currently v8::Null() looks up Isolate, which is a bottleneck of V8Node::toV8() for undefined Nodes. We can remove the Isolate look-up by passing Isolate to v8::Null(), like v8::Null(isolate). This will improve the performance of Bindings/undefined-first-child.html, which tests the performance for accessing a Node object that is not yet defined.
Created attachment 143430 [details] Patch
Created attachment 143435 [details] Patch
Comment on attachment 143435 [details] Patch Clearing flags on attachment: 143435 Committed r118120: <http://trac.webkit.org/changeset/118120>
All reviewed patches have been landed. Closing bug.
Reverted r118120 for reason: some LayoutTests crash since the patch passes a NULL to Null(isolate) Committed r118275: <http://trac.webkit.org/changeset/118275>