MCPcopy Index your code
hub / github.com/nodejs/node / continue_from_nested_finally

Function continue_from_nested_finally

deps/v8/test/mjsunit/try.js:310–329  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

308
309
310function continue_from_nested_finally(x) {
311 var cont = true;
312 while (cont) {
313 try {
314 x++;
315 try {
316 x++;
317 if (false) return -1;
318 cont = false;
319 continue;
320 } finally {
321 x--;
322 }
323 } finally {
324 x--;
325 }
326 x--; // should not happen
327 }
328 return x;
329}
330
331assertEquals(0, continue_from_nested_finally(0));
332assertEquals(1, continue_from_nested_finally(1));

Callers 1

try.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…