Added code deduplication to the oat writer.

The oat writer will reuse indexes if the code, invoke stubs, mapping
tables, or vmap tables are exactly the same. This reduces the code size
of the generated oat file.

Change-Id: I926b1eb0a6f3d11bc14f08b0c63c89dd0bd26e2a
2 files changed
tree: 6e03f3465d504c4cd33f3f66b3ba0b548ad94368
  1. build/
  2. oat_process/
  3. oat_runtime/
  4. src/
  5. test/
  6. tools/
  7. Android.mk