Changeset 284830 in webkit
- Timestamp:
- Oct 25, 2021, 2:50:57 PM (5 years ago)
- Location:
- branches/safari-612-branch
- 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
-
branches/safari-612-branch/JSTests/ChangeLog
r284426 r284830 1 2021-10-25 Null <null@apple.com> 2 3 Cherry-pick r283600. rdar://problem/84625586 4 5 Don't pass DontBuildStrings to next token after parsing an empty parameter list 6 https://bugs.webkit.org/show_bug.cgi?id=225094 7 <rdar://problem/77231778> 8 9 Reviewed by Yusuke Suzuki. 10 11 JSTests: 12 13 * stress/dont-pass-DontBuildStrings-when-building-empty-arguments-list.js: Added. 14 (main.a.prototype.g.toString.string_appeared_here): 15 (main.a): 16 (main): 17 18 Source/JavaScriptCore: 19 20 We might need the string, it turns out! 21 22 * parser/Parser.cpp: 23 (JSC::Parser<LexerType>::parseArguments): 24 25 26 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@283600 268f45cc-cd09-0410-ab3c-d52691b4dbfc 27 28 2021-10-05 Saam Barati <sbarati@apple.com> 29 30 Don't pass DontBuildStrings to next token after parsing an empty parameter list 31 https://bugs.webkit.org/show_bug.cgi?id=225094 32 <rdar://problem/77231778> 33 34 Reviewed by Yusuke Suzuki. 35 36 * stress/dont-pass-DontBuildStrings-when-building-empty-arguments-list.js: Added. 37 (main.a.prototype.g.toString.string_appeared_here): 38 (main.a): 39 (main): 40 1 41 2021-10-18 Russell Epstein <repstein@apple.com> 2 42 -
branches/safari-612-branch/Source/JavaScriptCore/ChangeLog
r284812 r284830 1 2021-10-25 Null <null@apple.com> 2 3 Cherry-pick r283600. rdar://problem/84625586 4 5 Don't pass DontBuildStrings to next token after parsing an empty parameter list 6 https://bugs.webkit.org/show_bug.cgi?id=225094 7 <rdar://problem/77231778> 8 9 Reviewed by Yusuke Suzuki. 10 11 JSTests: 12 13 * stress/dont-pass-DontBuildStrings-when-building-empty-arguments-list.js: Added. 14 (main.a.prototype.g.toString.string_appeared_here): 15 (main.a): 16 (main): 17 18 Source/JavaScriptCore: 19 20 We might need the string, it turns out! 21 22 * parser/Parser.cpp: 23 (JSC::Parser<LexerType>::parseArguments): 24 25 26 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@283600 268f45cc-cd09-0410-ab3c-d52691b4dbfc 27 28 2021-10-05 Saam Barati <sbarati@apple.com> 29 30 Don't pass DontBuildStrings to next token after parsing an empty parameter list 31 https://bugs.webkit.org/show_bug.cgi?id=225094 32 <rdar://problem/77231778> 33 34 Reviewed by Yusuke Suzuki. 35 36 We might need the string, it turns out! 37 38 * parser/Parser.cpp: 39 (JSC::Parser<LexerType>::parseArguments): 40 1 41 2021-10-25 Null <null@apple.com> 2 42 -
branches/safari-612-branch/Source/JavaScriptCore/parser/Parser.cpp
r279448 r284830 4982 4982 JSTokenLocation location(tokenLocation()); 4983 4983 if (match(CLOSEPAREN)) { 4984 next( TreeBuilder::DontBuildStrings);4984 next(); 4985 4985 return context.createArguments(); 4986 4986 }
Note:
See TracChangeset
for help on using the changeset viewer.