mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 889584, part 4 - Remove an unnecessary setFunctionBody call. r=Waldo.
This commit is contained in:
parent
0edeb92d28
commit
257bb24f7c
@ -1925,7 +1925,6 @@ Parser<ParseHandler>::functionDef(HandlePropertyName funName, const TokenStream:
|
||||
// If the outer scope is strict, immediately parse the function in strict
|
||||
// mode. Otherwise, we parse it normally. If we see a "use strict"
|
||||
// directive, we backup and reparse it as strict.
|
||||
handler.setFunctionBody(pn, null());
|
||||
bool initiallyStrict = pc->sc->strict;
|
||||
bool becameStrict;
|
||||
if (!functionArgsAndBody(pn, fun, funName, startOffset, type, kind, initiallyStrict,
|
||||
|
Loading…
Reference in New Issue
Block a user