Commit e2345e7
Thomas Moore
Merge pull request #3584 from thomasmo:domfastpathgetter_dst_profile
This change addresses the issue of Get/SetElement being used a TypedArrays from the host, which should have specialized calls
from the backend. This bug happens because, when the Inliner creates the DOMFastPathGetter instruction to replace a LdFld
instruction, it does not propagate dst's profile data. Thus, though DOMFastPathGetter avoids calling into the host, it also
introduces a new cost of making generic calls because the type is unknown.
This change ensures that the original LdFld's dst profile data is also copied to the new instruction for later type-specific
optimizations.
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3755 | 3755 | | |
3756 | 3756 | | |
3757 | 3757 | | |
3758 | | - | |
| 3758 | + | |
| 3759 | + | |
| 3760 | + | |
| 3761 | + | |
| 3762 | + | |
3759 | 3763 | | |
3760 | 3764 | | |
3761 | 3765 | | |
| |||
0 commit comments