Changeset 197155 in webkit
- Timestamp:
- Feb 25, 2016, 6:04:42 PM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dfg/DFGInPlaceAbstractState.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r197153 r197155 1 2016-02-25 Benjamin Poulain <benjamin@webkit.org> 2 3 [JSC] Temporal Dead Zone checks on "this" are eliminated when doing OSR Entry to FTL 4 https://bugs.webkit.org/show_bug.cgi?id=154664 5 6 Reviewed by Saam Barati. 7 8 When doing OSR Enter into a constructor, we lose the information 9 that this may have been set to empty by a previously executed block. 10 11 All the code just assumed the type for a FlushedJS value and thus 12 not an empty value. It was then okay to eliminate the TDZ checks. 13 14 In this patch, the values on root entry now assume they may be empty. 15 As a result, the SetArgument() for "this" has "empty" as possible 16 type and the TDZ checks are no longer eliminated. 17 18 * dfg/DFGInPlaceAbstractState.cpp: 19 (JSC::DFG::InPlaceAbstractState::initialize): 20 1 21 2016-02-25 Ada Chan <adachan@apple.com> 2 22 -
trunk/Source/JavaScriptCore/dfg/DFGInPlaceAbstractState.cpp
r190220 r197155 122 122 break; 123 123 case FlushedJSValue: 124 root->valuesAtHead.argument(i).make HeapTop();124 root->valuesAtHead.argument(i).makeBytecodeTop(); 125 125 break; 126 126 default:
Note:
See TracChangeset
for help on using the changeset viewer.