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

Function TestAllModes

deps/v8/test/mjsunit/readonly.js:178–183  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

176};
177%PrepareFunctionForOptimization(AssignStrict);
178function TestAllModes(f) {
179 for (var strict = 0; strict < 2; ++strict) {
180 print(" strict =", strict);
181 f(strict);
182 }
183}
184
185function TestAllScenarios(f) {
186 for (var t = 0; t < 100; t = 2 * t + 1) {

Callers 1

readonly.jsFile · 0.70

Calls 2

fFunction · 0.70
printFunction · 0.50

Tested by

no test coverage detected