C++: Add ReadSideEffect as a possible end instruction for load chains

This commit is contained in:
Mathias Vorreiter Pedersen
2020-06-08 11:05:30 +02:00
parent a4388e9258
commit 01f3793159
2 changed files with 28 additions and 14 deletions

View File

@@ -158,7 +158,7 @@ struct Outer
void read_f(Inner *inner)
{
sink(inner->f); //$ast $f-:ir
sink(inner->f); //$ast,ir
}
void test()