Changeset 245349 in webkit
- Timestamp:
- May 15, 2019, 2:44:46 PM (7 years ago)
- Location:
- branches/safari-607-branch
- Files:
-
- 1 added
- 3 edited
-
JSTests/ChangeLog (modified) (1 diff)
-
JSTests/stress/get-by-offset-should-use-correct-child.js (added)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/dfg/DFGSafeToExecute.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-607-branch/JSTests/ChangeLog
r245348 r245349 1 2019-05-14 Kocsen Chung <kocsen_chung@apple.com> 2 3 Cherry-pick r244314. rdar://problem/50753930 4 5 SafeToExecute for GetByOffset/GetGetterByOffset/PutByOffset is using the wrong child for the base 6 https://bugs.webkit.org/show_bug.cgi?id=196945 7 <rdar://problem/49802750> 8 9 Reviewed by Filip Pizlo. 10 11 JSTests: 12 13 * stress/get-by-offset-should-use-correct-child.js: Added. 14 (foo.bar): 15 (foo): 16 17 Source/JavaScriptCore: 18 19 * dfg/DFGSafeToExecute.h: 20 (JSC::DFG::safeToExecute): 21 22 23 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244314 268f45cc-cd09-0410-ab3c-d52691b4dbfc 24 25 2019-04-15 Saam barati <sbarati@apple.com> 26 27 SafeToExecute for GetByOffset/GetGetterByOffset/PutByOffset is using the wrong child for the base 28 https://bugs.webkit.org/show_bug.cgi?id=196945 29 <rdar://problem/49802750> 30 31 Reviewed by Filip Pizlo. 32 33 * stress/get-by-offset-should-use-correct-child.js: Added. 34 (foo.bar): 35 (foo): 36 1 37 2019-05-14 Kocsen Chung <kocsen_chung@apple.com> 2 38 -
branches/safari-607-branch/Source/JavaScriptCore/ChangeLog
r245348 r245349 1 2019-05-14 Kocsen Chung <kocsen_chung@apple.com> 2 3 Cherry-pick r244314. rdar://problem/50753930 4 5 SafeToExecute for GetByOffset/GetGetterByOffset/PutByOffset is using the wrong child for the base 6 https://bugs.webkit.org/show_bug.cgi?id=196945 7 <rdar://problem/49802750> 8 9 Reviewed by Filip Pizlo. 10 11 JSTests: 12 13 * stress/get-by-offset-should-use-correct-child.js: Added. 14 (foo.bar): 15 (foo): 16 17 Source/JavaScriptCore: 18 19 * dfg/DFGSafeToExecute.h: 20 (JSC::DFG::safeToExecute): 21 22 23 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244314 268f45cc-cd09-0410-ab3c-d52691b4dbfc 24 25 2019-04-15 Saam barati <sbarati@apple.com> 26 27 SafeToExecute for GetByOffset/GetGetterByOffset/PutByOffset is using the wrong child for the base 28 https://bugs.webkit.org/show_bug.cgi?id=196945 29 <rdar://problem/49802750> 30 31 Reviewed by Filip Pizlo. 32 33 * dfg/DFGSafeToExecute.h: 34 (JSC::DFG::safeToExecute): 35 1 36 2019-05-14 Kocsen Chung <kocsen_chung@apple.com> 2 37 -
branches/safari-607-branch/Source/JavaScriptCore/dfg/DFGSafeToExecute.h
r240426 r245349 544 544 // structure that has a type proof, then the next case below will deal with it. 545 545 if (state.structureClobberState() == StructuresAreWatched) { 546 if (JSObject* knownBase = node->child 1()->dynamicCastConstant<JSObject*>(graph.m_vm)) {546 if (JSObject* knownBase = node->child2()->dynamicCastConstant<JSObject*>(graph.m_vm)) { 547 547 if (graph.isSafeToLoad(knownBase, offset)) 548 548 return true; … … 550 550 } 551 551 552 StructureAbstractValue& value = state.forNode(node->child 1()).m_structure;552 StructureAbstractValue& value = state.forNode(node->child2()).m_structure; 553 553 if (value.isInfinite()) 554 554 return false;
Note:
See TracChangeset
for help on using the changeset viewer.