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

Function newarraycase_smiobj

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

Source from the content-addressed store, hash-verified

185assertKind(elements_kind.fast_double, obj);
186
187function newarraycase_smiobj(value) {
188 var a = new Array();
189 a[0] = value;
190 return a;
191}
192
193// Case: new Array() as allocation site, smi->fast
194obj = newarraycase_smiobj(1);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected