Commit 6002e09
Reset temp allocator before instruction
Summary:
If the temp allocator is defined, then it now (after some more recent changes) has objects allocated after 'init'. It doesn't seem to be cleared before the first instruction. Our temp allocator was very precisely bound to the size of a resource being allocated in our delegate and the leftover state in the temp allocator caused a failure to allocate.
We'll just clear this allocator wherever it's used.
Reviewed By: abhiag-git, JacobSzwejbka
Differential Revision: D801910571 parent 8e208ad commit 6002e09
2 files changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
757 | 763 | | |
758 | 764 | | |
759 | 765 | | |
| |||
1547 | 1553 | | |
1548 | 1554 | | |
1549 | 1555 | | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
1550 | 1559 | | |
1551 | 1560 | | |
1552 | 1561 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
371 | | - | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
372 | 373 | | |
373 | 374 | | |
374 | 375 | | |
| |||
379 | 380 | | |
380 | 381 | | |
381 | 382 | | |
382 | | - | |
| 383 | + | |
383 | 384 | | |
384 | 385 | | |
0 commit comments