hhbc/utils
commit551bb66964052cbd6fca49349e1e35d99a4516fe
authorMillie Chen <milliechen@fb.com>
Thu, 23 Dec 2021 18:34:06 +0000 (23 10:34 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 23 Dec 2021 18:36:06 +0000 (23 10:36 -0800)
tree50e60d4c9ee07a2d970d9b3be66b3f14eb641779
parent60d9dd0612f129f5209d08ad9266c9d43049cff2
hhbc/utils

Summary:
Move a few utility modules from `hphp/hack/src/hhbc/hhbc_by_ref` into `hphp/hack/src/hhbc/utils`
```
$ ls ~/fbsource/fbcode/hphp/hack/src/hhbc/utils
assertion_utils.rs  cargo  string_utils.rs  TARGETS  unique_id_builder.rs  unique_list_bench.rs  unique_list.rs
```

Reviewed By: shayne-fletcher

Differential Revision: D33109180

fbshipit-source-id: 095d5c44b9c38a807b7e6a9387ec54046cda38e5
63 files changed:
hphp/hack/.cargo/Cargo.toml.ocaml_build
hphp/hack/Cargo.lock
hphp/hack/src/facts/cargo/facts_rust/Cargo.toml
hphp/hack/src/facts/cargo/rust_facts_ffi/Cargo.toml
hphp/hack/src/facts/facts.rs
hphp/hack/src/facts/facts_parser.rs
hphp/hack/src/facts/rust_facts_ffi/rust_facts_ffi.rs
hphp/hack/src/hhbc/bytecode_printer/Cargo.toml
hphp/hack/src/hhbc/bytecode_printer/print.rs
hphp/hack/src/hhbc/emitter/cargo/emit_adata/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_body/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_class/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_constant/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_expression/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_function/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_memoize_method/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_method/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_param/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_property/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_record_def/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_type_constant/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_type_hint/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/emit_xhp/Cargo.toml
hphp/hack/src/hhbc/emitter/cargo/global_state/Cargo.toml
hphp/hack/src/hhbc/emitter/emit_adata.rs
hphp/hack/src/hhbc/emitter/emit_body.rs
hphp/hack/src/hhbc/emitter/emit_class.rs
hphp/hack/src/hhbc/emitter/emit_constant.rs
hphp/hack/src/hhbc/emitter/emit_expression.rs
hphp/hack/src/hhbc/emitter/emit_memoize_function.rs
hphp/hack/src/hhbc/emitter/emit_memoize_method.rs
hphp/hack/src/hhbc/emitter/emit_method.rs
hphp/hack/src/hhbc/emitter/emit_param.rs
hphp/hack/src/hhbc/emitter/emit_property.rs
hphp/hack/src/hhbc/emitter/emit_record_def.rs
hphp/hack/src/hhbc/emitter/emit_statement.rs
hphp/hack/src/hhbc/emitter/emit_type_constant.rs
hphp/hack/src/hhbc/emitter/emit_type_hint.rs
hphp/hack/src/hhbc/emitter/emit_xhp.rs
hphp/hack/src/hhbc/emitter/global_state.rs
hphp/hack/src/hhbc/hhbc/ast_class_expr.rs
hphp/hack/src/hhbc/hhbc/ast_constant_folder.rs
hphp/hack/src/hhbc/hhbc/cargo/ast_class_expr/Cargo.toml
hphp/hack/src/hhbc/hhbc/cargo/ast_constant_folder/Cargo.toml
hphp/hack/src/hhbc/hhbc/cargo/decl_vars/Cargo.toml
hphp/hack/src/hhbc/hhbc/cargo/hhas_coeffects/Cargo.toml
hphp/hack/src/hhbc/hhbc/cargo/hhbc_id/Cargo.toml
hphp/hack/src/hhbc/hhbc/decl_vars.rs
hphp/hack/src/hhbc/hhbc/hhas_coeffects.rs
hphp/hack/src/hhbc/hhbc/hhbc_id.rs
hphp/hack/src/hhbc/hhbc_by_ref/cargo/hhbc_by_ref_closure_convert/Cargo.toml
hphp/hack/src/hhbc/hhbc_by_ref/cargo/unique_list_bench/Cargo.toml [deleted file]
hphp/hack/src/hhbc/hhbc_by_ref/closure_convert.rs
hphp/hack/src/hhbc/utils/assertion_utils.rs [moved from hphp/hack/src/hhbc/hhbc_by_ref/assertion_utils.rs with 100% similarity]
hphp/hack/src/hhbc/utils/cargo/hhbc_assertion_utils/Cargo.toml [moved from hphp/hack/src/hhbc/hhbc_by_ref/cargo/hhbc_by_ref_hhbc_assertion_utils/Cargo.toml with 67% similarity]
hphp/hack/src/hhbc/utils/cargo/hhbc_string_utils/Cargo.toml [moved from hphp/hack/src/hhbc/hhbc_by_ref/cargo/hhbc_by_ref_hhbc_string_utils/Cargo.toml with 73% similarity]
hphp/hack/src/hhbc/utils/cargo/unique_id_builder/Cargo.toml [moved from hphp/hack/src/hhbc/hhbc_by_ref/cargo/hhbc_by_ref_unique_id_builder/Cargo.toml with 54% similarity]
hphp/hack/src/hhbc/utils/cargo/unique_list/Cargo.toml [moved from hphp/hack/src/hhbc/hhbc_by_ref/cargo/unique_list/Cargo.toml with 57% similarity]
hphp/hack/src/hhbc/utils/cargo/unique_list_bench/Cargo.toml [new file with mode: 0644]
hphp/hack/src/hhbc/utils/string_utils.rs [moved from hphp/hack/src/hhbc/hhbc_by_ref/string_utils.rs with 100% similarity]
hphp/hack/src/hhbc/utils/unique_id_builder.rs [moved from hphp/hack/src/hhbc/hhbc_by_ref/unique_id_builder.rs with 100% similarity]
hphp/hack/src/hhbc/utils/unique_list.rs [moved from hphp/hack/src/hhbc/hhbc_by_ref/unique_list.rs with 100% similarity]
hphp/hack/src/hhbc/utils/unique_list_bench.rs [moved from hphp/hack/src/hhbc/hhbc_by_ref/unique_list_bench.rs with 98% similarity]