OSDN Git Service

Generate the tables in InstrUtils.c...almost.
authorDan Bornstein <danfuzz@android.com>
Wed, 17 Nov 2010 20:05:04 +0000 (12:05 -0800)
committerDan Bornstein <danfuzz@android.com>
Wed, 17 Nov 2010 20:05:04 +0000 (12:05 -0800)
commit8424432a87c784547e4510bca538eaedc312e40d
treefd2adcb356418d6dc697ba5a8e1a1bb90eb1fde2
parentd03baafc41fe04167d0a8ba01d8cbc9bcbed8195
Generate the tables in InstrUtils.c...almost.

This patch adds code to opcode-gen to generate the opcode info tables
currently built at vm start time, but they are left commented out for
now. I wanted to separate the work of getting these tables generated
from the work of getting those new tables hooked up, and this seemed
like a reasonable way to cut through the larger effort.

To be clear, I've already verified that the data in the new
pregenerated tables matches what's in the status quo.

Change-Id: Ie73dc6c6a5721e8f714f845c97b5338141995770
dexdump/DexDump.c
libdex/InstrUtils.c
libdex/InstrUtils.h
opcode-gen/bytecode.txt
opcode-gen/opcode-gen
opcode-gen/regen-all