WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
175487
Add testing tool to lie to the DFG about profiles
https://bugs.webkit.org/show_bug.cgi?id=175487
Summary
Add testing tool to lie to the DFG about profiles
Keith Miller
Reported
2017-08-11 12:13:46 PDT
Add testing tool to lie to the DFG about profiles
Attachments
Patch
(27.66 KB, patch)
2017-08-11 12:15 PDT
,
Keith Miller
no flags
Details
Formatted Diff
Diff
Patch
(28.56 KB, patch)
2017-08-11 12:19 PDT
,
Keith Miller
no flags
Details
Formatted Diff
Diff
Patch
(29.24 KB, patch)
2017-08-14 13:55 PDT
,
Keith Miller
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews126 for ios-simulator-wk2
(1.29 MB, application/zip)
2017-08-14 18:04 PDT
,
Build Bot
no flags
Details
Patch for landing
(29.20 KB, patch)
2017-08-14 20:24 PDT
,
Keith Miller
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Keith Miller
Comment 1
2017-08-11 12:15:53 PDT
Created
attachment 317947
[details]
Patch
Build Bot
Comment 2
2017-08-11 12:17:30 PDT
Attachment 317947
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/dfg/DFGNodeType.h:50: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 28 files If any of these errors are false positives, please file a bug against check-webkit-style.
Mark Lam
Comment 3
2017-08-11 12:17:59 PDT
Comment on
attachment 317947
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=317947&action=review
> Source/JavaScriptCore/ChangeLog:11 > + a given profile when we tired up.
/tired/tiered/
Keith Miller
Comment 4
2017-08-11 12:19:49 PDT
Created
attachment 317948
[details]
Patch
Build Bot
Comment 5
2017-08-11 12:22:28 PDT
Attachment 317948
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/dfg/DFGNodeType.h:50: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 30 files If any of these errors are false positives, please file a bug against check-webkit-style.
Saam Barati
Comment 6
2017-08-11 13:07:48 PDT
Comment on
attachment 317948
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=317948&action=review
> Source/JavaScriptCore/bytecode/BytecodeUseDef.h:63 > + case op_identity_with_profile:
I think you want to use operand 2 here
Build Bot
Comment 7
2017-08-11 13:15:26 PDT
Comment on
attachment 317948
[details]
Patch
Attachment 317948
[details]
did not pass jsc-ews (mac): Output:
http://webkit-queues.webkit.org/results/4297318
New failing tests: stress/compare-eq-incomplete-profile.js.no-ftl stress/compare-eq-incomplete-profile.js.dfg-eager-no-cjit-validate stress/compare-eq-incomplete-profile.js.ftl-eager-no-cjit stress/compare-eq-incomplete-profile.js.ftl-eager stress/compare-eq-incomplete-profile.js.dfg-eager stress/compare-eq-incomplete-profile.js.default stress/compare-eq-incomplete-profile.js.dfg-maximal-flush-validate-no-cjit stress/compare-eq-incomplete-profile.js.no-cjit-collect-continuously stress/compare-eq-incomplete-profile.js.ftl-no-cjit-no-put-stack-validate stress/compare-eq-incomplete-profile.js.ftl-no-cjit-small-pool stress/compare-eq-incomplete-profile.js.ftl-eager-no-cjit-b3o1 stress/compare-eq-incomplete-profile.js.ftl-no-cjit-validate-sampling-profiler stress/compare-eq-incomplete-profile.js.ftl-no-cjit-no-inline-validate stress/compare-eq-incomplete-profile.js.no-cjit-validate-phases stress/compare-eq-incomplete-profile.js.ftl-no-cjit-b3o1
Keith Miller
Comment 8
2017-08-14 12:16:46 PDT
Comment on
attachment 317948
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=317948&action=review
>> Source/JavaScriptCore/bytecode/BytecodeUseDef.h:63 >> + case op_identity_with_profile: > > I think you want to use operand 2 here
Whoops, yeah. Good catch!
Keith Miller
Comment 9
2017-08-14 13:37:10 PDT
Comment on
attachment 317948
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=317948&action=review
>>> Source/JavaScriptCore/bytecode/BytecodeUseDef.h:63 >>> + case op_identity_with_profile: >> >> I think you want to use operand 2 here > > Whoops, yeah. Good catch!
Wait, no it was right before. identity_with_profile is just a nop that pretends to read and write the first argument.
Keith Miller
Comment 10
2017-08-14 13:55:40 PDT
Created
attachment 318057
[details]
Patch
Build Bot
Comment 11
2017-08-14 13:57:55 PDT
Attachment 318057
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/dfg/DFGNodeType.h:50: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 31 files If any of these errors are false positives, please file a bug against check-webkit-style.
Saam Barati
Comment 12
2017-08-14 15:09:06 PDT
Comment on
attachment 318057
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=318057&action=review
r=me
> Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h:204 > + forNode(node) = forNode(node->child1());
I would just lump this into Identity since we don't run AI before fixup
> Source/JavaScriptCore/dfg/DFGNodeType.h:51 > + macro(IdentityWithProfile, NodeResultJS) \
I would say MustGenerate here and then clear that bit in fixup
Build Bot
Comment 13
2017-08-14 18:04:32 PDT
Comment on
attachment 318057
[details]
Patch
Attachment 318057
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/4314773
New failing tests: imported/w3c/web-platform-tests/custom-elements/microtasks-and-constructors.html imported/w3c/web-platform-tests/html/browsers/windows/browsing-context.html
Build Bot
Comment 14
2017-08-14 18:04:34 PDT
Created
attachment 318095
[details]
Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.5
Keith Miller
Comment 15
2017-08-14 20:23:47 PDT
(In reply to Saam Barati from
comment #12
)
> Comment on
attachment 318057
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=318057&action=review
> > r=me > > > Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h:204 > > + forNode(node) = forNode(node->child1()); > > I would just lump this into Identity since we don't run AI before fixup > > > Source/JavaScriptCore/dfg/DFGNodeType.h:51 > > + macro(IdentityWithProfile, NodeResultJS) \ > > I would say MustGenerate here and then clear that bit in fixup
Done.
Keith Miller
Comment 16
2017-08-14 20:24:56 PDT
Created
attachment 318105
[details]
Patch for landing
WebKit Commit Bot
Comment 17
2017-08-14 21:18:28 PDT
The commit-queue encountered the following flaky tests while processing
attachment 318105
[details]
: media/modern-media-controls/seek-backward-support/seek-backward-support.html
bug 174916
(authors:
graouts@apple.com
,
mcatanzaro@igalia.com
, and
ryanhaddad@apple.com
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 18
2017-08-14 21:19:00 PDT
Comment on
attachment 318105
[details]
Patch for landing Clearing flags on attachment: 318105 Committed
r220735
: <
http://trac.webkit.org/changeset/220735
>
WebKit Commit Bot
Comment 19
2017-08-14 21:19:02 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 20
2017-08-14 21:20:28 PDT
<
rdar://problem/33890385
>
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