diff options
author | cjihrig <cjihrig@gmail.com> | 2018-03-11 10:33:42 -0400 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2018-03-12 08:45:13 -0700 |
commit | 22b68042590de93109dbc2a4ddaf78caa24c2306 (patch) | |
tree | 1c7715f3910d3633c30b1504433890434aa33daa /doc/api/vm.md | |
parent | 148d16ab5b297739b125716f6dea9499b947fe47 (diff) | |
download | node-new-22b68042590de93109dbc2a4ddaf78caa24c2306.tar.gz |
lib: define printErr() in script string
This commit moves the printErr() function, used by the
tick profiler processer, into the code string passed to
vm.runInThisContext().
PR-URL: https://github.com/nodejs/node/pull/19285
Fixes: https://github.com/nodejs/node/issues/19260
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/vm.md')
0 files changed, 0 insertions, 0 deletions