WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
152695
Turn off Internal Function inlining in the DFG for super calls.
https://bugs.webkit.org/show_bug.cgi?id=152695
Summary
Turn off Internal Function inlining in the DFG for super calls.
Keith Miller
Reported
2016-01-04 10:00:12 PST
Turn off Internal Function inlining in the DFG for super calls.
Attachments
Patch
(4.76 KB, patch)
2016-01-04 10:11 PST
,
Keith Miller
ggaren
: review+
Details
Formatted Diff
Diff
Benchmark results
(64.06 KB, text/plain)
2016-01-04 10:20 PST
,
Keith Miller
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Keith Miller
Comment 1
2016-01-04 10:11:59 PST
Created
attachment 268203
[details]
Patch
Keith Miller
Comment 2
2016-01-04 10:20:41 PST
Created
attachment 268204
[details]
Benchmark results
Geoffrey Garen
Comment 3
2016-01-04 11:00:28 PST
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.
Keith Miller
Comment 4
2016-01-04 11:13:34 PST
> 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
Geoffrey Garen
Comment 5
2016-01-04 15:15:11 PST
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.
Keith Miller
Comment 6
2016-01-04 16:21:01 PST
(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.
Keith Miller
Comment 7
2016-01-04 16:35:30 PST
Committed
r194565
: <
http://trac.webkit.org/changeset/194565
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug