Changeset 242649 in webkit
- Timestamp:
- Mar 8, 2019 11:18:18 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r242626 r242649 1 2019-03-08 Tadeu Zagallo <tzagallo@apple.com> 2 3 op_check_tdz does not def its argument 4 https://bugs.webkit.org/show_bug.cgi?id=192880 5 <rdar://problem/46221598> 6 7 Reviewed by Saam Barati. 8 9 * microbenchmarks/let-for-in.js: Added. 10 (foo): 11 1 12 2019-03-07 Yusuke Suzuki <ysuzuki@apple.com> 2 13 -
trunk/Source/JavaScriptCore/ChangeLog
r242636 r242649 1 2019-03-08 Tadeu Zagallo <tzagallo@apple.com> 2 3 op_check_tdz does not def its argument 4 https://bugs.webkit.org/show_bug.cgi?id=192880 5 <rdar://problem/46221598> 6 7 Reviewed by Saam Barati. 8 9 This prevented the for-in loop optimization in the bytecode generator, since 10 the analysis sees a redefinition of the loop variable. 11 12 * bytecode/BytecodeUseDef.h: 13 (JSC::computeDefsForBytecodeOffset): 14 1 15 2019-03-07 Yusuke Suzuki <ysuzuki@apple.com> 2 16 -
trunk/Source/JavaScriptCore/bytecode/BytecodeUseDef.h
r240138 r242649 296 296 case op_throw: 297 297 case op_throw_static_error: 298 case op_check_tdz: 298 299 case op_debug: 299 300 case op_ret: … … 449 450 DEFS(OpNewObject, dst) 450 451 DEFS(OpToThis, srcDst) 451 DEFS(OpCheckTdz, targetVirtualRegister)452 452 DEFS(OpGetScope, dst) 453 453 DEFS(OpCreateDirectArguments, dst)
Note: See TracChangeset
for help on using the changeset viewer.