You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "null" and "optimized" constants misbehave, since they are re-used in the IR.
Also, the block_ field of parameters (used directly by GetBlock() rather than scanning back) is not always updated properly, causing inconsistencies now detected by stricter graph checking.
I already made one initial improvement by using AddToInitialDefinitions() for each insertion, which makes finding all remaining inconsistencies a bit easier.
Rationale:
Refactored existing verify uses (with some overlap and some
additional checks) into the graph checker. Also added more
verification code and repaired some inconsistencies in IR
found by new checker. However, some checks are disabled with
a TODO, since the IR does not currently meet all the stricter
assumptions. Fixes will follow.
#36893#36894#36895#36899
Change-Id: Ic0395208da38ecb6fc8ca2551efe819e6458a731
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/101922
Commit-Queue: Aart Bik <[email protected]>
Reviewed-by: Alexander Markov <[email protected]>
Rationale:
Stricter graph checking found some dangling pointers
and missing updates. This CL fixes the omissions
and removes some bail-outs in the graph checker itself,
making the checker stricter and more consistent. Also
adds flag to control verification (avoid excessive runtimes
for large programs in general, but allows testing even
these through command line option).
#36893#36894#36895#36899
Change-Id: If4357cb897484ddfdb60722525092198771ec90a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/102420
Reviewed-by: Aart Bik <[email protected]>
Commit-Queue: Aart Bik <[email protected]>
The "null" and "optimized" constants misbehave, since they are re-used in the IR.
Also, the block_ field of parameters (used directly by GetBlock() rather than scanning back) is not always updated properly, causing inconsistencies now detected by stricter graph checking.
@mraleph
The text was updated successfully, but these errors were encountered: