diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-05 21:30:52 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-04-05 21:30:52 +0200 |
commit | 1ee96e39db760004c33a235ea691ab06bac21375 (patch) | |
tree | 072c69413e081c47e258f7b0b7f5443e357cc756 /js/src/frontend/SyntaxParseHandler.h | |
parent | 2950deb043a403377a589046acaa38cfe3dc9876 (diff) | |
download | uxp-1ee96e39db760004c33a235ea691ab06bac21375.tar.gz |
Specify an explicit offset when warning about "use asm" found in the
directive prologue of a script (rather than a function body).
Diffstat (limited to 'js/src/frontend/SyntaxParseHandler.h')
-rw-r--r-- | js/src/frontend/SyntaxParseHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/frontend/SyntaxParseHandler.h b/js/src/frontend/SyntaxParseHandler.h index b7f00605be..85695ba9c2 100644 --- a/js/src/frontend/SyntaxParseHandler.h +++ b/js/src/frontend/SyntaxParseHandler.h @@ -519,7 +519,7 @@ class SyntaxParseHandler MOZ_MUST_USE Node setLikelyIIFE(Node pn) { return pn; // Remain in syntax-parse mode. } - void setPrologue(Node pn) {} + void setInDirectivePrologue(Node pn) {} bool isConstant(Node pn) { return false; } |