chakra-core / chakra-core/ChakraCore
OpHelpers returning non-int values lead to Infinite bailouts on some array operations
Open
Performance
Severity: 2
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
```
var index = "0.1";
var ary = [0,1];
for (var i = 0; i < 10000; ++i)
{
// +index calls Op_ConvNumber which will return a double in this case.
// LdElemI will does a type check on the index and bails out if it's not an int, but rejits the exact same code.
ary[+index];
}
```
Contributor guide
Assessment
This issue has not been assessed yet.