assemble_opcode macro
commit9d93381bfcfed9117ebc1c0c55089248614e3490
authorAaron Orenstein <aorenste@meta.com>
Fri, 14 Oct 2022 22:28:05 +0000 (14 15:28 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 14 Oct 2022 22:28:05 +0000 (14 15:28 -0700)
treec37aa30fe8592c6a42a47d1e4d27c8d8ee5e5ab1
parentf54a2b937a314ee6b16f9f8350e9a2d5e5da1a4e
assemble_opcode macro

Summary: This macro generates the `assemble_opcode` function which will do most of the assembler opcode handling.  The macro is actually used in a following diff.

Reviewed By: edwinsmith

Differential Revision: D40270777

fbshipit-source-id: 2bb657dc75e9c86cd64edcdfe866ce4591f4e894
hphp/hack/src/hackc/assemble/assemble_opcode_macro.rs [new file with mode: 0644]
hphp/hack/src/hackc/assemble/lexer.rs
hphp/hack/src/hackc/cargo/assemble_opcode_macro/Cargo.toml [new file with mode: 0644]