Add hhbbc option to dump bytecode counts and exit.
commitb55062e8996b52d8bc47bf2421d46951a00a6cb6
authorAlexey Toptygin <alexeyt@fb.com>
Sat, 2 Jun 2018 07:21:04 +0000 (2 00:21 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Sat, 2 Jun 2018 07:54:28 +0000 (2 00:54 -0700)
treef477814a508a473466b9652afe8cb786bd2443fb
parent2a1c238df37cedfa6563991c6facd7922b8387d9
Add hhbbc option to dump bytecode counts and exit.

Summary: Add the --bytecode-stats option to hhbbc. If provided, we don't delete or produce an output repo, we just load the input repo, count bytecodes, print the counts, and exit.

Reviewed By: markw65

Differential Revision: D8228603

fbshipit-source-id: 2b9ae88ec7e89715351d17fde88dc560d9a97437
hphp/hhbbc/main.cpp