summaryrefslogtreecommitdiff
path: root/compiler/dex/quick/codegen_util.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-09-02 14:05:49 +0100
committer Vladimir Marko <vmarko@google.com> 2015-09-02 20:16:58 +0100
commitf9f6441c665b5ff9004d3ed55014f46d416fb1bb (patch)
tree3d66a0b44e1ac927156eec6e6488de5fd52b982b /compiler/dex/quick/codegen_util.cc
parentfe3879e6011f629d0dd6b04fab00b9496bd4ea08 (diff)
Optimizing: Tag Arena allocations with their source.
This adds the ability to track where we allocate memory when the kArenaAllocatorCountAllocations flag is turned on. Also move some allocations from native heap to the Arena and remove some unnecessary utilities. Bug: 23736311 Change-Id: I1aaef3fd405d1de444fe9e618b1ce7ecef07ade3
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
-rw-r--r--compiler/dex/quick/codegen_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc
index 72754ae5d9..7082bedc5e 100644
--- a/compiler/dex/quick/codegen_util.cc
+++ b/compiler/dex/quick/codegen_util.cc
@@ -1115,7 +1115,7 @@ void Mir2Lir::Materialize() {
CompiledMethod* Mir2Lir::GetCompiledMethod() {
// Combine vmap tables - core regs, then fp regs - into vmap_table.
- Leb128EncodingVector vmap_encoder;
+ Leb128EncodingVector<> vmap_encoder;
if (frame_size_ > 0) {
// Prefix the encoded data with its size.
size_t size = core_vmap_table_.size() + 1 /* marker */ + fp_vmap_table_.size();