Add per file module use to hhas
commit5e2f847f3e2f306c7e855d564aa110014a27a25f
authorOguz Ulgen <oulgen@fb.com>
Sat, 26 Mar 2022 02:36:23 +0000 (25 19:36 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sat, 26 Mar 2022 02:36:23 +0000 (25 19:36 -0700)
tree83ce1b81ce5a29988bb5d50f4242e63bd2f64ff3
parentc756dc2d7ccd8e705bb3533adf2be3ea59f40aeb
Add per file module use to hhas

Summary: This diff converts the `<<__Module("A")>>` in php file to `.module "A"` in hhas file to start communicating with HHVM.

Reviewed By: edwinsmith

Differential Revision: D35125062

fbshipit-source-id: 258e2a23d4bebd86ce3986828f0a9ca2a2327373
16 files changed:
hphp/hack/Cargo.lock
hphp/hack/src/hackc/bytecode_printer/print.rs
hphp/hack/src/hackc/emitter/cargo/emit_file_attributes/Cargo.toml
hphp/hack/src/hackc/emitter/emit_file_attributes.rs
hphp/hack/src/hackc/emitter/emit_unit.rs
hphp/hack/src/hackc/hhbc/hackc_unit.rs
hphp/hhbbc/emit.cpp
hphp/hhbbc/parse.cpp
hphp/hhbbc/representation.h
hphp/runtime/vm/as.cpp
hphp/runtime/vm/disas.cpp
hphp/runtime/vm/hackc-translator.cpp
hphp/runtime/vm/unit-emitter.cpp
hphp/runtime/vm/unit-emitter.h
hphp/runtime/vm/unit-inl.h
hphp/runtime/vm/unit.h