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