diff options
| author | Jesse Wilson <jessewilson@google.com> | 2011-03-11 14:27:41 -0800 |
|---|---|---|
| committer | Jesse Wilson <jessewilson@google.com> | 2011-03-11 16:55:26 -0800 |
| commit | d1e1668224cde06bbe5ad8953c7fb86d1d0d40e4 (patch) | |
| tree | b072b5b91f9faebde4882863d54fa88bbaad145d /vm/compiler/codegen/CodegenFactory.cpp | |
| parent | c632e86945a77dc9e1fc99005fb99741c9f6cfa4 (diff) | |
Fix bugs in incremental dx.
The compaction code used to merge a dex with itself. This caused
problems because annotations would be duplicated. Now the dex is
merged with an empty dex. I've changed the section default from
-1 to 0 to make the empty dex trivial to construct.
It also had a correctness problem where we were using the wrong
offsets when merging indexed values. Move the offsets out of the
loop so they aren't reset.
Change-Id: Ibcf24de8f96c2c525ca2e2ac44550239e3cf689e
http://b/3447216
Diffstat (limited to 'vm/compiler/codegen/CodegenFactory.cpp')
0 files changed, 0 insertions, 0 deletions
