Turn off Internal Function inlining in the DFG for super calls.
Created attachment 268203 [details] Patch
Created attachment 268204 [details] Benchmark results
Comment on attachment 268203 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=268203&action=review r- because this needs a test case. > Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:2433 > + // FIXME: If we have inlined super calls up to the call site, however, we should be able to figure out the structure. You should file a bug for this fixme.
> r- because this needs a test case. > I'm not sure what behavior you want me to test. This patch just ensures that we take a slow path when subclassing an InternalFunction. There is no non-performance difference here. > > Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:2433 > > + // FIXME: If we have inlined super calls up to the call site, however, we should be able to figure out the structure. > > You should file a bug for this fix me. Fixed. https://bugs.webkit.org/show_bug.cgi?id=152700
Comment on attachment 268203 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=268203&action=review r=me I guess the test case will come later, once the slow path starts to do the right thing. >> Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:2433 >> + // FIXME: If we have inlined super calls up to the call site, however, we should be able to figure out the structure. > > You should file a bug for this fixme. Please paste the bug link in the source code. > Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:2441 > - > + Revert.
(In reply to comment #5) > Comment on attachment 268203 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=268203&action=review > > r=me > > I guess the test case will come later, once the slow path starts to do the > right thing. > > >> Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:2433 > >> + // FIXME: If we have inlined super calls up to the call site, however, we should be able to figure out the structure. > > > > You should file a bug for this fixme. > > Please paste the bug link in the source code. It's already there. > > > Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:2441 > > - > > + > > Revert. Fixed.
Committed r194565: <http://trac.webkit.org/changeset/194565>