This repository was archived by the owner on Oct 15, 2020. It is now read-only.
Commit e3d6b28
deps: update ChakraCore to chakra-core/ChakraCore@488faf3350
[1.8>1.9] [MERGE #4618 @boingoing] OS#14568840: Remove 'this' binding for indirect eval
Merge pull request #4618 from boingoing:RemoveThisBindingIndirectEval
Having a 'this' binding in the indirect eval leads to problems if there is a lambda capturing 'this' in the indirect eval. The lambda would try to load 'this' from a scope slot in the global scope of the indirect eval which asserts.
Seems we can simplify the above by just removing the 'this' binding from the indirect eval. Then we'll simply load 'this' like an ordinary lambda at global scope would.
Fixes:
https://microsoft.visualstudio.com/web/wi.aspx?id=14568840
Reviewed-By: chakrabot <chakrabot@users.noreply.github.com>1 parent 1316d0b commit e3d6b28
File tree
3 files changed
+19
-20
lines changed- deps/chakrashim/core
- lib/Parser
- test/Basics
3 files changed
+19
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1711 | 1711 | | |
1712 | 1712 | | |
1713 | 1713 | | |
1714 | | - | |
| 1714 | + | |
1715 | 1715 | | |
1716 | 1716 | | |
1717 | 1717 | | |
1718 | 1718 | | |
1719 | 1719 | | |
1720 | 1720 | | |
1721 | | - | |
1722 | | - | |
1723 | 1721 | | |
1724 | 1722 | | |
1725 | 1723 | | |
1726 | | - | |
| 1724 | + | |
1727 | 1725 | | |
1728 | 1726 | | |
1729 | 1727 | | |
| |||
1735 | 1733 | | |
1736 | 1734 | | |
1737 | 1735 | | |
1738 | | - | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
1743 | | - | |
1744 | 1736 | | |
1745 | 1737 | | |
1746 | 1738 | | |
| |||
5760 | 5752 | | |
5761 | 5753 | | |
5762 | 5754 | | |
5763 | | - | |
| 5755 | + | |
5764 | 5756 | | |
5765 | 5757 | | |
5766 | 5758 | | |
| |||
7082 | 7074 | | |
7083 | 7075 | | |
7084 | 7076 | | |
7085 | | - | |
| 7077 | + | |
7086 | 7078 | | |
7087 | 7079 | | |
7088 | 7080 | | |
| |||
11352 | 11344 | | |
11353 | 11345 | | |
11354 | 11346 | | |
11355 | | - | |
| 11347 | + | |
11356 | 11348 | | |
11357 | 11349 | | |
11358 | 11350 | | |
| |||
11762 | 11754 | | |
11763 | 11755 | | |
11764 | 11756 | | |
11765 | | - | |
11766 | | - | |
11767 | | - | |
11768 | | - | |
11769 | | - | |
11770 | | - | |
11771 | 11757 | | |
11772 | 11758 | | |
11773 | 11759 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
758 | | - | |
| 758 | + | |
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
964 | 977 | | |
965 | 978 | | |
966 | 979 | | |
| |||
0 commit comments