Changeset 280704 in webkit
- Timestamp:
- Aug 5, 2021, 3:39:57 PM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
b3/B3Validate.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r280689 r280704 1 2021-08-05 Robin Morisset <rmorisset@apple.com> 2 3 REGRESSION (r280507): ASSERTION FAILED: !undominatedPhis.contains(value) in JSC::B3::(anonymous namespace)::Validater::validatePhisAreDominatedByUpsilons() 4 https://bugs.webkit.org/show_bug.cgi?id=228838 5 <rdar://problem/81579314> 6 7 Reviewed by Geoffrey Garen. 8 9 When I added validation of the dominance of Phis by their Upsilons, I checked two things: 10 - There is no path from the entry point to a Phi without going through a corresponding Upsilon (the actual dominance check) 11 - There is no way to execute a Phi twice without going through a corresponding Upsilon in between 12 The second property is not actually true in B3 IR, I had misunderstood that part of the meaning of Phis/Upsilons. 13 So this patch just removes this second check. 14 15 It has no security/stability/performance implication: this is validation code, which runs automatically in debug mode, but should not run at all on customer machines. 16 17 * b3/B3Validate.cpp: 18 1 19 2021-08-05 Michael Catanzaro <mcatanzaro@gnome.org> 2 20 -
trunk/Source/JavaScriptCore/b3/B3Validate.cpp
r280507 r280704 678 678 break; 679 679 case Phi: 680 VALIDATE(!undominatedPhis.contains(value), ("At ", *value));681 680 undominatedPhis.add(value); 682 681 break;
Note:
See TracChangeset
for help on using the changeset viewer.