Fix GetCachedProg() for OnePass.

Change-Id: Ifb0ab3842c46e1598cfdf4ccf3f558354f7a3f94
Reviewed-on: https://code-review.googlesource.com/c/re2/+/58672
Reviewed-by: Paul Wankadia <junyer@google.com>
1 file changed