Commit Graph

2 Commits

Author SHA1 Message Date
Daniel Rodríguez Troitiño
9d22cbb13e [test] Mark mandatory_inlining.swift as executable.
Otherwise the Android CI will fail this test, since no device is
actually attached.
2019-05-20 17:10:55 -07:00
Michael Gottesman
3b029010b9 [mandatory-inlining] When using the linear lifetime checker to insert compensating releases, if we find a double use due to a loop, do not insert an apply at that call site.
Otherwise, one will get use after frees. I added an interpreter test as wlel as
an end to end test.

rdar://50884462
2019-05-20 12:12:13 -07:00