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
  2. build/
  3. oat_process/
  4. oat_runtime/
  5. src/
  6. test/
  7. tools/