(limit)
| 350 | |
| 351 | let heapSnapshotNearHeapLimitCallbackAdded = false; |
| 352 | function setHeapSnapshotNearHeapLimit(limit) { |
| 353 | validateUint32(limit, 'limit', true); |
| 354 | if (heapSnapshotNearHeapLimitCallbackAdded || |
| 355 | getOptionValue('--heapsnapshot-near-heap-limit') > 0 |
| 356 | ) { |
| 357 | return; |
| 358 | } |
| 359 | heapSnapshotNearHeapLimitCallbackAdded = true; |
| 360 | _setHeapSnapshotNearHeapLimit(limit); |
| 361 | } |
| 362 | |
| 363 | const detailLevelDict = { |
| 364 | __proto__: null, |
nothing calls this directly
no test coverage detected