summaryrefslogtreecommitdiff
path: root/compiler/dex/quick/codegen_util.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-10-27 16:08:44 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-10-27 16:08:44 +0000
commit7a16bdbcce562a39a6a7defde5e191ca74327f3b (patch)
tree08aa651a9b18ccabe11083ceed413b9ed2cd13f5 /compiler/dex/quick/codegen_util.cc
parent1a7b13394775c363d8f8facf748d188d1c225aac (diff)
parent35831e8bfa1c0944d4c978d99c4c5b9577945170 (diff)
Merge "Reduce memory used by CompiledMethods."
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
-rw-r--r--compiler/dex/quick/codegen_util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc
index cde99b3fae..d68835a9cf 100644
--- a/compiler/dex/quick/codegen_util.cc
+++ b/compiler/dex/quick/codegen_util.cc
@@ -22,6 +22,7 @@
#endif
#include "base/bit_vector-inl.h"
+#include "base/stringprintf.h"
#include "dex/mir_graph.h"
#include "driver/compiler_driver.h"
#include "driver/compiler_options.h"
@@ -1165,7 +1166,7 @@ CompiledMethod* Mir2Lir::GetCompiledMethod() {
cu_->compiler_driver, cu_->instruction_set,
ArrayRef<const uint8_t>(code_buffer_),
frame_size_, core_spill_mask_, fp_spill_mask_,
- &src_mapping_table_,
+ ArrayRef<const SrcMapElem>(src_mapping_table_),
ArrayRef<const uint8_t>(encoded_mapping_table_),
ArrayRef<const uint8_t>(vmap_encoder.GetData()),
ArrayRef<const uint8_t>(native_gc_map_),