diff options
author | 2015-08-19 18:05:46 +0000 | |
---|---|---|
committer | 2015-08-19 18:05:46 +0000 | |
commit | 99429ae0610e8d67d417542942c4befb35950bd3 (patch) | |
tree | 707a048ce213083edcf370a0a021e66a709d157c /compiler/dex/quick/codegen_util.cc | |
parent | a35d4c9d66b372e7ae1014357c48ddfa6104085b (diff) | |
parent | 581550137ee3a068a14224870e71aeee924a0646 (diff) |
Merge "Revert "Revert "Optimizing: Better invoke-static/-direct dispatch."""
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
-rw-r--r-- | compiler/dex/quick/codegen_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc index 8629f39702..72754ae5d9 100644 --- a/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc @@ -1152,7 +1152,7 @@ CompiledMethod* Mir2Lir::GetCompiledMethod() { vmap_encoder.PushBackUnsigned(0u); // Size is 0. } - // Sort patches by literal offset for better deduplication. + // Sort patches by literal offset. Required for .oat_patches encoding. std::sort(patches_.begin(), patches_.end(), [](const LinkerPatch& lhs, const LinkerPatch& rhs) { return lhs.LiteralOffset() < rhs.LiteralOffset(); }); |