Changeset 204570 in webkit
- Timestamp:
- Aug 17, 2016, 2:00:45 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r204504 r204570 1 2016-08-17 Mark Lam <mark.lam@apple.com> 2 3 Remove an invalid assertion in the DFG backend's GetById emitter. 4 https://bugs.webkit.org/show_bug.cgi?id=160925 5 <rdar://problem/27248961> 6 7 Reviewed by Filip Pizlo. 8 9 * stress/dfg-get-by-id-should-not-assert-non-null-prediction.js: Added. 10 1 11 2016-08-16 Ryan Haddad <ryanhaddad@apple.com> 2 12 -
trunk/Source/JavaScriptCore/ChangeLog
r204542 r204570 1 2016-08-17 Mark Lam <mark.lam@apple.com> 2 3 Remove an invalid assertion in the DFG backend's GetById emitter. 4 https://bugs.webkit.org/show_bug.cgi?id=160925 5 <rdar://problem/27248961> 6 7 Reviewed by Filip Pizlo. 8 9 The DFG backend's GetById assertion that the node's prediction not be SpecNone 10 is just plain wrong. It assumes that we can never have a GetById node without a 11 type prediction, but this is not true. The following test case proves otherwise: 12 13 function foo() { 14 "use strict"; 15 return --arguments["callee"]; 16 } 17 18 Will remove the assertion. Nothing else needs to change as the DFG is working 19 correctly without the assertion. 20 21 * dfg/DFGSpeculativeJIT32_64.cpp: 22 (JSC::DFG::SpeculativeJIT::compile): 23 * dfg/DFGSpeculativeJIT64.cpp: 24 (JSC::DFG::SpeculativeJIT::compile): 25 1 26 2016-08-16 Mark Lam <mark.lam@apple.com> 2 27 -
trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp
r204495 r204570 4176 4176 4177 4177 case GetById: { 4178 ASSERT(node->prediction());4179 4180 4178 switch (node->child1().useKind()) { 4181 4179 case CellUse: { -
trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp
r204470 r204570 4121 4121 4122 4122 case GetById: { 4123 ASSERT(node->prediction());4124 4125 4123 switch (node->child1().useKind()) { 4126 4124 case CellUse: {
Note:
See TracChangeset
for help on using the changeset viewer.