Commit 11bc046
committed
[MERGE chakra-core#4965 @sethbrenith] Check that PropertyValueInfo refers to correct PolymorphicInlineCache when resizing
Merge pull request chakra-core#4965 from sethbrenith:user/sethb/check-polymorphic-cache
A previous bug (which is already fixed) could lead to a case where we attempted to resize the wrong PolymorphicInlineCache instance. These new assertions make our assumptions more clear, and would have caught the problem upon first resize rather than only after the cache size passed its maximum.
Fixes OS:167124431 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| 450 | + | |
450 | 451 | | |
451 | 452 | | |
452 | 453 | | |
| |||
455 | 456 | | |
456 | 457 | | |
457 | 458 | | |
| 459 | + | |
458 | 460 | | |
459 | 461 | | |
460 | 462 | | |
| |||
0 commit comments