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

Function f

deps/v8/test/mjsunit/keyed-load-null-receiver.js:17–27  ·  view source on GitHub ↗
(null_or_undefined)

Source from the content-addressed store, hash-verified

15}
16
17function f(null_or_undefined) {
18 // Turn the LoadIC megamorphic
19 load({a0:1, z:2});
20 load({a1:1, z:2});
21 load({a2:1, z:2});
22 load({a3:1, z:2});
23 load({a4:1, z:2});
24 // Now try null to check if generic IC handles this correctly.
25 // It shouldn't call prop.toString.
26 load(null_or_undefined);
27}
28
29try {
30 f(null);

Callers 1

Calls 1

loadFunction · 0.70

Tested by

no test coverage detected