Commit 7764bfd
Andres Madrid Ucha
I64lowering: fix BigInt mixing with Number values
When compiling with the -O0 flag, the CheerpWriter would use
BigInt for the indices of get element ptr instructions that were never
lowered to 32-bit integers. Therefore it is good to implement the lowering
of 64-bit indices of GEP in the I64lowering pass so node does not complain
when executing the js file.1 parent 9af5430 commit 7764bfd
1 file changed
+33
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
914 | 914 | | |
915 | 915 | | |
916 | 916 | | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
917 | 948 | | |
| 949 | + | |
| 950 | + | |
918 | 951 | | |
919 | 952 | | |
920 | 953 | | |
| |||
0 commit comments