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

Function newarraycase_length_smidouble

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

Source from the content-addressed store, hash-verified

199assertKind(elements_kind.fast, obj);
200
201function newarraycase_length_smidouble(value) {
202 var a = new Array(3);
203 a[0] = value;
204 return a;
205}
206
207// Case: new Array(length) as allocation site
208obj = newarraycase_length_smidouble(1);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected