(null_or_undefined)
| 15 | } |
| 16 | |
| 17 | function f(null_or_undefined) { |
| 18 | // Turn the LoadIC megamorphic |
| 19 | load({a0:1, z:2}); |
| 20 | load({a1:1, z:2}); |
| 21 | load({a2:1, z:2}); |
| 22 | load({a3:1, z:2}); |
| 23 | load({a4:1, z:2}); |
| 24 | // Now try null to check if generic IC handles this correctly. |
| 25 | // It shouldn't call prop.toString. |
| 26 | load(null_or_undefined); |
| 27 | } |
| 28 | |
| 29 | try { |
| 30 | f(null); |
no test coverage detected