MCPcopy Create free account
hub / github.com/nodejs/node / test

Function test

deps/v8/test/mjsunit/compiler/osr-infinite.js:18–24  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

16%NeverOptimizeFunction(test); // Don't want to inline the func into test.
17
18function test(func) {
19 for (var i = 0; i < 3; i++) {
20 global_counter = 0;
21 %PrepareFunctionForOptimization(func);
22 assertThrows(func);
23 }
24}
25
26function n1() {
27 while (true) thrower();

Callers 1

osr-infinite.jsFile · 0.70

Calls 1

assertThrowsFunction · 0.50

Tested by

no test coverage detected