WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
217055
Add Bounds Check Elimination validation for debugging.
https://bugs.webkit.org/show_bug.cgi?id=217055
Summary
Add Bounds Check Elimination validation for debugging.
Mark Lam
Reported
2020-09-28 10:22:05 PDT
rdar://69122891
Attachments
proposed patch.
(21.82 KB, patch)
2020-09-28 19:07 PDT
,
Mark Lam
keith_miller
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2020-09-28 19:07:56 PDT
Created
attachment 409946
[details]
proposed patch.
Keith Miller
Comment 2
2020-09-28 19:13:10 PDT
Comment on
attachment 409946
[details]
proposed patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=409946&action=review
r=me with nit
> Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp:-381 > -
Undo please.
> Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:4654 > + RELEASE_ASSERT(Options::validateBoundsCheckElimination());
Does this really do anything?
Mark Lam
Comment 3
2020-09-28 19:20:29 PDT
Comment on
attachment 409946
[details]
proposed patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=409946&action=review
Thanks for the review.
>> Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp:-381 >> - > > Undo please.
will do.
>> Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:4654 >> + RELEASE_ASSERT(Options::validateBoundsCheckElimination()); > > Does this really do anything?
Just a sanity check that this node should never be emitted if the option isn't enabled. I suppose there's no strong reason it needs to be a RELEASE_ASSERT. I'll change it to an ASSERT.
Mark Lam
Comment 4
2020-09-28 21:55:16 PDT
Landed in
r267726
: <
http://trac.webkit.org/r267726
>.
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