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

Function newarraycase_length_smiobj

deps/v8/test/mjsunit/allocation-site-info.js:223–227  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

221// assertKind(elements_kind.fast, obj);
222
223function newarraycase_length_smiobj(value) {
224 var a = new Array(3);
225 a[0] = value;
226 return a;
227}
228
229// Case: new Array(<length>) as allocation site, smi->fast
230obj = newarraycase_length_smiobj(1);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected