ref: c3ce563aa92267b60017c1ec7854fe1baae1f94a
parent: c3715ce3db4cc37ea46af8dbc891ecee1ca1b2ff
author: Tor Andersson <tor.andersson@artifex.com>
date: Thu Jul 8 14:13:12 EDT 2021
Debug print whether a function is strict.
--- a/jsdump.c
+++ b/jsdump.c
@@ -788,6 +788,7 @@
minify = 0;
printf("%s(%d)\n", F->name, F->numparams);
+ if (F->strict) printf("\tstrict\n");
if (F->lightweight) printf("\tlightweight\n");
if (F->arguments) printf("\targuments\n");
printf("\tsource %s:%d\n", F->filename, F->line);