Pass around RepoAutoloaderMapBuilder instead of global state
commit456c3e93917f7733a08b5b6a17fb6476600cf0f5
authorEmil Hesslow <emil@fb.com>
Tue, 21 Apr 2020 17:26:45 +0000 (21 10:26 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 21 Apr 2020 17:29:26 +0000 (21 10:29 -0700)
treec569fdfd95b0a7631d79a066a56adf1b807c4665
parent11c36f33539376f2e093d450a0d76428e5879afb
Pass around RepoAutoloaderMapBuilder instead of global state

Summary:
- This is needed because the using RepoAutoloadMapBuilder as a global state didn't work because there may be inserts into the central repo.
  - Also it is nicer to not use global state

Reviewed By: jano

Differential Revision: D20884383

fbshipit-source-id: 9086133d848f3f1de5d50bdc8c88fa67b5cfe774
hphp/compiler/analysis/emitter.cpp
hphp/hhbbc/main.cpp
hphp/runtime/vm/func-emitter.cpp
hphp/runtime/vm/preclass-emitter.cpp
hphp/runtime/vm/repo-autoload-map-builder.cpp
hphp/runtime/vm/repo-autoload-map-builder.h
hphp/runtime/vm/repo.cpp
hphp/runtime/vm/repo.h
hphp/runtime/vm/unit-emitter.cpp