Commit d7e40f3
authored
[clang][bytecode] Call CheckStore() before activating pointers (llvm#165235)
We used to do this the other way around to work around an awkwardness
with CheckStore, namely that we shouldn't check pointers for being
activated when activating them.
Add a parameter to CheckStore instead and call CheckStore() _before_
activating and initializing the pointers in the respective opcode
implementations.
Fixes llvm#1649751 parent 51cecd3 commit d7e40f3
File tree
3 files changed
+25
-13
lines changed- clang
- lib/AST/ByteCode
- test/AST/ByteCode
3 files changed
+25
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
873 | | - | |
| 873 | + | |
| 874 | + | |
874 | 875 | | |
875 | 876 | | |
876 | 877 | | |
| |||
885 | 886 | | |
886 | 887 | | |
887 | 888 | | |
888 | | - | |
| 889 | + | |
889 | 890 | | |
890 | 891 | | |
891 | 892 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
1977 | 1978 | | |
1978 | 1979 | | |
1979 | 1980 | | |
| 1981 | + | |
| 1982 | + | |
1980 | 1983 | | |
1981 | 1984 | | |
1982 | 1985 | | |
1983 | 1986 | | |
1984 | | - | |
1985 | | - | |
1986 | | - | |
1987 | 1987 | | |
1988 | 1988 | | |
1989 | 1989 | | |
| |||
1993 | 1993 | | |
1994 | 1994 | | |
1995 | 1995 | | |
| 1996 | + | |
| 1997 | + | |
1996 | 1998 | | |
1997 | 1999 | | |
1998 | 2000 | | |
1999 | 2001 | | |
2000 | | - | |
2001 | | - | |
2002 | 2002 | | |
2003 | 2003 | | |
2004 | 2004 | | |
| |||
2007 | 2007 | | |
2008 | 2008 | | |
2009 | 2009 | | |
2010 | | - | |
| 2010 | + | |
| 2011 | + | |
2011 | 2012 | | |
2012 | 2013 | | |
2013 | 2014 | | |
| |||
2037 | 2038 | | |
2038 | 2039 | | |
2039 | 2040 | | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
2040 | 2044 | | |
2041 | 2045 | | |
2042 | 2046 | | |
2043 | 2047 | | |
2044 | | - | |
2045 | | - | |
2046 | 2048 | | |
2047 | 2049 | | |
2048 | 2050 | | |
| |||
2055 | 2057 | | |
2056 | 2058 | | |
2057 | 2059 | | |
| 2060 | + | |
| 2061 | + | |
2058 | 2062 | | |
2059 | 2063 | | |
2060 | 2064 | | |
2061 | 2065 | | |
2062 | | - | |
2063 | | - | |
2064 | 2066 | | |
2065 | 2067 | | |
2066 | 2068 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
977 | 977 | | |
978 | 978 | | |
979 | 979 | | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
980 | 989 | | |
0 commit comments