WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
189083
[WHLSL] Ensure that isLValue is copied by the rewriter
https://bugs.webkit.org/show_bug.cgi?id=189083
Summary
[WHLSL] Ensure that isLValue is copied by the rewriter
Thomas Denney
Reported
2018-08-29 09:42:13 PDT
[WHLSL] Ensure that isLValue is copied by the rewriter
Attachments
Patch
(1.54 KB, patch)
2018-08-29 09:43 PDT
,
Thomas Denney
no flags
Details
Formatted Diff
Diff
Patch
(2.96 KB, patch)
2018-08-29 09:59 PDT
,
Thomas Denney
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Thomas Denney
Comment 1
2018-08-29 09:43:35 PDT
Created
attachment 348403
[details]
Patch
Thomas Denney
Comment 2
2018-08-29 09:59:20 PDT
Created
attachment 348405
[details]
Patch
Myles C. Maxfield
Comment 3
2018-08-29 10:02:04 PDT
Comment on
attachment 348405
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=348405&action=review
> Tools/WebGPUShadingLanguageRI/Test.js:275 > + function ternaryExpressionIsLValue(node) > + { > + let isLValue; > + class TernaryExpressionVisitor extends Visitor { > + visitTernaryExpression(node) > + { > + isLValue = node.isLValue; > + } > + } > + node.visit(new TernaryExpressionVisitor()); > + return isLValue; > + }
This is an unfortunate test, because it doesn't describe anything user-visible. Are you sure there's no way this bug is visible without using compiler internals?
Thomas Denney
Comment 4
2018-08-29 10:05:44 PDT
Comment on
attachment 348405
[details]
Patch The last place that isLValue gets read in the interpreter is inside Checker, however after that has completed the entire program is rewritten using Inliner, which is a subclass of Rewriter.
WebKit Commit Bot
Comment 5
2018-08-29 11:24:54 PDT
Comment on
attachment 348405
[details]
Patch Clearing flags on attachment: 348405 Committed
r235470
: <
https://trac.webkit.org/changeset/235470
>
WebKit Commit Bot
Comment 6
2018-08-29 11:24:55 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7
2018-08-29 11:25:38 PDT
<
rdar://problem/43850362
>
Myles C. Maxfield
Comment 8
2018-10-13 15:06:15 PDT
Migrated to
https://github.com/gpuweb/WHLSL/issues/73
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