Commit 2ae98ce
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: #19285
Fixes: #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>1 parent 1519657 commit 2ae98ceCopy full SHA for 2ae98ce
File tree
Expand file treeCollapse file tree
1 file changed
+1
-5
lines changedOpen diff view settings
Filter options
- lib/internal
Expand file treeCollapse file tree
1 file changed
+1
-5
lines changedOpen diff view settings
Collapse file
lib/internal/v8_prof_processor.js
Copy file name to clipboardExpand all lines: lib/internal/v8_prof_processor.js+1-5Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | 24 | |
30 | 25 | |
31 | 26 | |
| ||
36 | 31 | |
37 | 32 | |
38 | 33 | |
| 34 | + |
39 | 35 | |
40 | 36 | |
41 | 37 | |
0 commit comments