Initialize fake inliner variables on resume path

Otherwise, this will cause R8 to complain.
This commit is contained in:
Ilmir Usmanov
2020-08-04 21:38:30 +02:00
parent bb5a99ec18
commit 68342a1f72
2 changed files with 33 additions and 9 deletions
@@ -17,7 +17,8 @@ suspend fun ApplicationCall.test(authenticationService: AuthenticationService) {
respond(authenticationService.execute(receiveJSON()))
}
// 2 ISTORE 5
// $i$f$respond x1, $i$f$receiveJSON x2: before and after suspension point
// 3 ISTORE 5
// 0 ILOAD 5
// 1 \$i\$f\$receiveJSON I .* 5
// 1 \$i\$f\$respond I .* 5