Commit 451fe6a
committed
ZJIT: Fix opt_{hash,ary,str}_{freeze,uminus}
The stack layout is incompatible with the way we reify the stack for
generating fallback SendWithoutBlock: the receiver is an embedded VALUE
in the bytecode, not on the stack. Since we don't expect these to be
overridden often, instead of fussing about with the stack layout, just
hope for the best and PatchPoint/SideExit.
Fix Shopify#7601 parent 254b9b4 commit 451fe6a
2 files changed
+219
-75
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
997 | 997 | | |
998 | 998 | | |
999 | 999 | | |
1000 | | - | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
1001 | 1015 | | |
1002 | 1016 | | |
1003 | | - | |
| 1017 | + | |
1004 | 1018 | | |
1005 | 1019 | | |
1006 | 1020 | | |
1007 | | - | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
1008 | 1036 | | |
1009 | 1037 | | |
1010 | | - | |
| 1038 | + | |
1011 | 1039 | | |
1012 | 1040 | | |
1013 | 1041 | | |
1014 | | - | |
1015 | | - | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
1016 | 1058 | | |
1017 | | - | |
| 1059 | + | |
1018 | 1060 | | |
1019 | 1061 | | |
1020 | 1062 | | |
1021 | | - | |
1022 | | - | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
1023 | 1079 | | |
1024 | | - | |
| 1080 | + | |
1025 | 1081 | | |
1026 | 1082 | | |
1027 | 1083 | | |
| |||
0 commit comments