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

Function fastliteralcase_smiholey

deps/v8/test/mjsunit/allocation-site-info.js:160–164  ·  view source on GitHub ↗
(index, value)

Source from the content-addressed store, hash-verified

158
159// Case: make sure transitions from packed to holey are tracked
160function fastliteralcase_smiholey(index, value) {
161 var literal = [1, 2, 3, 4];
162 literal[index] = value;
163 return literal;
164}
165
166obj = fastliteralcase_smiholey(5, 1);
167assertKind(elements_kind.fast_smi_only, obj);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected