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

Function newarraycase_smidouble

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

Source from the content-addressed store, hash-verified

171assertHoley(obj);
172
173function newarraycase_smidouble(value) {
174 var a = new Array();
175 a[0] = value;
176 return a;
177}
178
179// Case: new Array() as allocation site, smi->double
180obj = newarraycase_smidouble(1);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected