Changeset 283600 in webkit
- Timestamp:
- Oct 5, 2021, 10:20:07 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
-
JSTests/ChangeLog (modified) (1 diff)
-
JSTests/stress/dont-pass-DontBuildStrings-when-building-empty-arguments-list.js (added)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/parser/Parser.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r283567 r283600 1 2021-10-05 Saam Barati <sbarati@apple.com> 2 3 Don't pass DontBuildStrings to next token after parsing an empty parameter list 4 https://bugs.webkit.org/show_bug.cgi?id=225094 5 <rdar://problem/77231778> 6 7 Reviewed by Yusuke Suzuki. 8 9 * stress/dont-pass-DontBuildStrings-when-building-empty-arguments-list.js: Added. 10 (main.a.prototype.g.toString.string_appeared_here): 11 (main.a): 12 (main): 13 1 14 2021-10-05 Mark Lam <mark.lam@apple.com> 2 15 -
trunk/Source/JavaScriptCore/ChangeLog
r283572 r283600 1 2021-10-05 Saam Barati <sbarati@apple.com> 2 3 Don't pass DontBuildStrings to next token after parsing an empty parameter list 4 https://bugs.webkit.org/show_bug.cgi?id=225094 5 <rdar://problem/77231778> 6 7 Reviewed by Yusuke Suzuki. 8 9 We might need the string, it turns out! 10 11 * parser/Parser.cpp: 12 (JSC::Parser<LexerType>::parseArguments): 13 1 14 2021-10-05 Patrick Angle <pangle@apple.com> 2 15 -
trunk/Source/JavaScriptCore/parser/Parser.cpp
r282968 r283600 4981 4981 JSTokenLocation location(tokenLocation()); 4982 4982 if (match(CLOSEPAREN)) { 4983 next( TreeBuilder::DontBuildStrings);4983 next(); 4984 4984 return context.createArguments(); 4985 4985 }
Note:
See TracChangeset
for help on using the changeset viewer.