Checks that we inline across dex files, even when we need an environment.