blob: c160e2b4b34a69bdd87b0109479e529010ced3b6 [file] [log] [blame]
Nicolas Geoffray004c2302015-03-20 10:06:38 +00001/*
2 * Copyright (C) 2015 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include "stack_map.h"
18
David Srbecky71ec1cc2018-05-18 15:57:25 +010019#include <iomanip>
Nicolas Geoffray896f8f72015-03-30 15:44:25 +010020#include <stdint.h>
21
Nicolas Geoffray5d37c152017-01-12 13:25:19 +000022#include "art_method.h"
David Sehr9c4a0152018-04-05 12:23:54 -070023#include "base/indenter.h"
David Srbecky81b1d782021-03-07 21:33:28 +000024#include "base/stats-inl.h"
David Srbeckyf6ba5b32018-06-23 22:05:49 +010025#include "oat_quick_method_header.h"
Nicolas Geoffray5d37c152017-01-12 13:25:19 +000026#include "scoped_thread_state_change-inl.h"
Roland Levillain0396ed72015-05-27 15:12:19 +010027
Nicolas Geoffray004c2302015-03-20 10:06:38 +000028namespace art {
29
David Srbecky0d4567f2019-05-30 22:45:40 +010030// The callback is used to inform the caller about memory bounds of the bit-tables.
31template<typename DecodeCallback>
32CodeInfo::CodeInfo(const uint8_t* data, size_t* num_read_bits, DecodeCallback callback) {
David Srbecky3aaaa212018-07-30 16:46:53 +010033 BitMemoryReader reader(data);
David Srbecky6c4ec5c2019-06-20 07:23:19 +000034 std::array<uint32_t, kNumHeaders> header = reader.ReadInterleavedVarints<kNumHeaders>();
David Srbecky697c47a2019-06-16 21:53:07 +010035 ForEachHeaderField([this, &header](size_t i, auto member_pointer) {
36 this->*member_pointer = header[i];
37 });
David Srbecky0d4567f2019-05-30 22:45:40 +010038 ForEachBitTableField([this, &reader, &callback](size_t i, auto member_pointer) {
David Srbecky697c47a2019-06-16 21:53:07 +010039 auto& table = this->*member_pointer;
David Srbecky6c4ec5c2019-06-20 07:23:19 +000040 if (LIKELY(HasBitTable(i))) {
David Srbecky697c47a2019-06-16 21:53:07 +010041 if (UNLIKELY(IsBitTableDeduped(i))) {
42 ssize_t bit_offset = reader.NumberOfReadBits() - reader.ReadVarint();
43 BitMemoryReader reader2(reader.data(), bit_offset); // The offset is negative.
44 table.Decode(reader2);
David Srbecky0d4567f2019-05-30 22:45:40 +010045 callback(i, &table, reader2.GetReadRegion());
David Srbecky697c47a2019-06-16 21:53:07 +010046 } else {
David Srbecky0d4567f2019-05-30 22:45:40 +010047 ssize_t bit_offset = reader.NumberOfReadBits();
David Srbecky697c47a2019-06-16 21:53:07 +010048 table.Decode(reader);
David Srbecky0d4567f2019-05-30 22:45:40 +010049 callback(i, &table, reader.GetReadRegion().Subregion(bit_offset));
David Srbecky697c47a2019-06-16 21:53:07 +010050 }
51 }
David Srbecky0d4567f2019-05-30 22:45:40 +010052 });
53 if (num_read_bits != nullptr) {
54 *num_read_bits = reader.NumberOfReadBits();
David Srbeckye42a4b92019-05-26 00:10:25 +010055 }
David Srbecky078d7ba2018-06-21 15:36:48 +010056}
57
David Srbecky0d4567f2019-05-30 22:45:40 +010058CodeInfo::CodeInfo(const uint8_t* data, size_t* num_read_bits)
59 : CodeInfo(data, num_read_bits, [](size_t, auto*, BitMemoryRegion){}) {}
60
61CodeInfo::CodeInfo(const OatQuickMethodHeader* header)
62 : CodeInfo(header->GetOptimizedCodeInfoPtr()) {}
63
David Srbecky0d4567f2019-05-30 22:45:40 +010064CodeInfo CodeInfo::DecodeGcMasksOnly(const OatQuickMethodHeader* header) {
65 CodeInfo code_info(header->GetOptimizedCodeInfoPtr());
66 CodeInfo copy; // Copy to dead-code-eliminate all fields that we do not need.
67 copy.stack_maps_ = code_info.stack_maps_;
68 copy.register_masks_ = code_info.register_masks_;
69 copy.stack_masks_ = code_info.stack_masks_;
70 return copy;
71}
72
73CodeInfo CodeInfo::DecodeInlineInfoOnly(const OatQuickMethodHeader* header) {
74 CodeInfo code_info(header->GetOptimizedCodeInfoPtr());
75 CodeInfo copy; // Copy to dead-code-eliminate all fields that we do not need.
76 copy.number_of_dex_registers_ = code_info.number_of_dex_registers_;
77 copy.stack_maps_ = code_info.stack_maps_;
78 copy.inline_infos_ = code_info.inline_infos_;
79 copy.method_infos_ = code_info.method_infos_;
80 return copy;
81}
82
David Srbecky42deda82018-08-10 11:23:27 +010083size_t CodeInfo::Deduper::Dedupe(const uint8_t* code_info_data) {
David Srbeckyd1606412018-07-31 15:05:14 +010084 writer_.ByteAlign();
85 size_t deduped_offset = writer_.NumberOfWrittenBits() / kBitsPerByte;
David Srbecky697c47a2019-06-16 21:53:07 +010086
David Srbecky6c4ec5c2019-06-20 07:23:19 +000087 // The back-reference offset takes space so dedupe is not worth it for tiny tables.
88 constexpr size_t kMinDedupSize = 32; // Assume 32-bit offset on average.
89
David Srbecky697c47a2019-06-16 21:53:07 +010090 // Read the existing code info and find (and keep) dedup-map iterator for each table.
91 // The iterator stores BitMemoryRegion and bit_offset of previous identical BitTable.
David Srbecky697c47a2019-06-16 21:53:07 +010092 std::map<BitMemoryRegion, uint32_t, BitMemoryRegion::Less>::iterator it[kNumBitTables];
David Srbecky0d4567f2019-05-30 22:45:40 +010093 CodeInfo code_info(code_info_data, nullptr, [&](size_t i, auto*, BitMemoryRegion region) {
94 it[i] = dedupe_map_.emplace(region, /*bit_offset=*/0).first;
95 if (it[i]->second != 0 && region.size_in_bits() > kMinDedupSize) { // Seen before and large?
96 code_info.SetBitTableDeduped(i); // Mark as deduped before we write header.
David Srbecky697c47a2019-06-16 21:53:07 +010097 }
98 });
99
100 // Write the code info back, but replace deduped tables with relative offsets.
David Srbecky0d4567f2019-05-30 22:45:40 +0100101 std::array<uint32_t, kNumHeaders> header;
David Srbecky6c4ec5c2019-06-20 07:23:19 +0000102 ForEachHeaderField([&code_info, &header](size_t i, auto member_pointer) {
103 header[i] = code_info.*member_pointer;
David Srbecky42deda82018-08-10 11:23:27 +0100104 });
David Srbecky6c4ec5c2019-06-20 07:23:19 +0000105 writer_.WriteInterleavedVarints(header);
David Srbecky697c47a2019-06-16 21:53:07 +0100106 ForEachBitTableField([this, &code_info, &it](size_t i, auto) {
107 if (code_info.HasBitTable(i)) {
108 uint32_t& bit_offset = it[i]->second;
109 if (code_info.IsBitTableDeduped(i)) {
110 DCHECK_NE(bit_offset, 0u);
111 writer_.WriteVarint(writer_.NumberOfWrittenBits() - bit_offset);
112 } else {
113 bit_offset = writer_.NumberOfWrittenBits(); // Store offset in dedup map.
114 writer_.WriteRegion(it[i]->first);
115 }
David Srbecky42deda82018-08-10 11:23:27 +0100116 }
117 });
David Srbeckyd1606412018-07-31 15:05:14 +0100118
119 if (kIsDebugBuild) {
David Srbecky42deda82018-08-10 11:23:27 +0100120 CodeInfo old_code_info(code_info_data);
David Srbeckyd1606412018-07-31 15:05:14 +0100121 CodeInfo new_code_info(writer_.data() + deduped_offset);
David Srbecky697c47a2019-06-16 21:53:07 +0100122 ForEachHeaderField([&old_code_info, &new_code_info](size_t, auto member_pointer) {
123 if (member_pointer != &CodeInfo::bit_table_flags_) { // Expected to differ.
124 DCHECK_EQ(old_code_info.*member_pointer, new_code_info.*member_pointer);
125 }
David Srbecky42deda82018-08-10 11:23:27 +0100126 });
David Srbecky6c4ec5c2019-06-20 07:23:19 +0000127 ForEachBitTableField([&old_code_info, &new_code_info](size_t i, auto member_pointer) {
128 DCHECK_EQ(old_code_info.HasBitTable(i), new_code_info.HasBitTable(i));
David Srbecky42deda82018-08-10 11:23:27 +0100129 DCHECK((old_code_info.*member_pointer).Equals(new_code_info.*member_pointer));
130 });
David Srbeckyd1606412018-07-31 15:05:14 +0100131 }
132
133 return deduped_offset;
David Srbeckyb73323c2018-07-15 23:58:44 +0100134}
135
Eric Holkf1e1dd12020-08-21 15:38:12 -0700136StackMap CodeInfo::GetStackMapForNativePcOffset(uintptr_t pc, InstructionSet isa) const {
David Srbecky0d4567f2019-05-30 22:45:40 +0100137 uint32_t packed_pc = StackMap::PackNativePc(pc, isa);
138 // Binary search. All catch stack maps are stored separately at the end.
139 auto it = std::partition_point(
David Srbecky0b4e5a32018-06-11 16:25:29 +0100140 stack_maps_.begin(),
141 stack_maps_.end(),
142 [packed_pc](const StackMap& sm) {
143 return sm.GetPackedNativePc() < packed_pc && sm.GetKind() != StackMap::Kind::Catch;
144 });
David Srbecky0b4e5a32018-06-11 16:25:29 +0100145 // Start at the lower bound and iterate over all stack maps with the given native pc.
146 for (; it != stack_maps_.end() && (*it).GetNativePcOffset(isa) == pc; ++it) {
147 StackMap::Kind kind = static_cast<StackMap::Kind>((*it).GetKind());
148 if (kind == StackMap::Kind::Default || kind == StackMap::Kind::OSR) {
149 return *it;
150 }
151 }
David Srbeckya45a85c2018-06-21 16:03:12 +0100152 return stack_maps_.GetInvalidRow();
David Srbecky0b4e5a32018-06-11 16:25:29 +0100153}
154
David Srbecky6de88332018-06-03 12:00:11 +0100155// Scan backward to determine dex register locations at given stack map.
156// All registers for a stack map are combined - inlined registers are just appended,
157// therefore 'first_dex_register' allows us to select a sub-range to decode.
158void CodeInfo::DecodeDexRegisterMap(uint32_t stack_map_index,
159 uint32_t first_dex_register,
160 /*out*/ DexRegisterMap* map) const {
161 // Count remaining work so we know when we have finished.
162 uint32_t remaining_registers = map->size();
163
164 // Keep scanning backwards and collect the most recent location of each register.
165 for (int32_t s = stack_map_index; s >= 0 && remaining_registers != 0; s--) {
166 StackMap stack_map = GetStackMapAt(s);
167 DCHECK_LE(stack_map_index - s, kMaxDexRegisterMapSearchDistance) << "Unbounded search";
168
169 // The mask specifies which registers where modified in this stack map.
170 // NB: the mask can be shorter than expected if trailing zero bits were removed.
171 uint32_t mask_index = stack_map.GetDexRegisterMaskIndex();
172 if (mask_index == StackMap::kNoValue) {
173 continue; // Nothing changed at this stack map.
174 }
175 BitMemoryRegion mask = dex_register_masks_.GetBitMemoryRegion(mask_index);
176 if (mask.size_in_bits() <= first_dex_register) {
177 continue; // Nothing changed after the first register we are interested in.
178 }
179
180 // The map stores one catalogue index per each modified register location.
181 uint32_t map_index = stack_map.GetDexRegisterMapIndex();
182 DCHECK_NE(map_index, StackMap::kNoValue);
183
184 // Skip initial registers which we are not interested in (to get to inlined registers).
185 map_index += mask.PopCount(0, first_dex_register);
186 mask = mask.Subregion(first_dex_register, mask.size_in_bits() - first_dex_register);
187
188 // Update registers that we see for first time (i.e. most recent value).
189 DexRegisterLocation* regs = map->data();
190 const uint32_t end = std::min<uint32_t>(map->size(), mask.size_in_bits());
191 const size_t kNumBits = BitSizeOf<uint32_t>();
192 for (uint32_t reg = 0; reg < end; reg += kNumBits) {
193 // Process the mask in chunks of kNumBits for performance.
194 uint32_t bits = mask.LoadBits(reg, std::min<uint32_t>(end - reg, kNumBits));
195 while (bits != 0) {
196 uint32_t bit = CTZ(bits);
197 if (regs[reg + bit].GetKind() == DexRegisterLocation::Kind::kInvalid) {
198 regs[reg + bit] = GetDexRegisterCatalogEntry(dex_register_maps_.Get(map_index));
199 remaining_registers--;
200 }
201 map_index++;
202 bits ^= 1u << bit; // Clear the bit.
203 }
204 }
205 }
206
207 // Set any remaining registers to None (which is the default state at first stack map).
208 if (remaining_registers != 0) {
209 DexRegisterLocation* regs = map->data();
210 for (uint32_t r = 0; r < map->size(); r++) {
211 if (regs[r].GetKind() == DexRegisterLocation::Kind::kInvalid) {
212 regs[r] = DexRegisterLocation::None();
213 }
214 }
215 }
216}
217
David Srbecky42deda82018-08-10 11:23:27 +0100218// Decode the CodeInfo while collecting size statistics.
David Srbecky81b1d782021-03-07 21:33:28 +0000219void CodeInfo::CollectSizeStats(const uint8_t* code_info_data, /*out*/ Stats& stats) {
David Srbecky42deda82018-08-10 11:23:27 +0100220 BitMemoryReader reader(code_info_data);
David Srbecky0d4567f2019-05-30 22:45:40 +0100221 reader.ReadInterleavedVarints<kNumHeaders>();
David Srbecky81b1d782021-03-07 21:33:28 +0000222 stats["Header"].AddBits(reader.NumberOfReadBits());
David Srbecky0d4567f2019-05-30 22:45:40 +0100223 size_t num_bits;
224 CodeInfo code_info(code_info_data, &num_bits, [&](size_t i, auto* table, BitMemoryRegion region) {
225 if (!code_info.IsBitTableDeduped(i)) {
David Srbecky81b1d782021-03-07 21:33:28 +0000226 Stats& table_stats = stats[table->GetName()];
227 table_stats.AddBits(region.size_in_bits());
228 table_stats["Header"].AddBits(region.size_in_bits() - table->DataBitSize());
David Srbecky0d4567f2019-05-30 22:45:40 +0100229 const char* const* column_names = table->GetColumnNames();
230 for (size_t c = 0; c < table->NumColumns(); c++) {
231 if (table->NumColumnBits(c) > 0) {
David Srbecky81b1d782021-03-07 21:33:28 +0000232 Stats& column_stats = table_stats[column_names[c]];
233 column_stats.AddBits(table->NumRows() * table->NumColumnBits(c), table->NumRows());
David Srbecky42deda82018-08-10 11:23:27 +0100234 }
235 }
David Srbecky86decb62018-06-05 06:41:10 +0100236 }
David Srbecky42deda82018-08-10 11:23:27 +0100237 });
David Srbecky81b1d782021-03-07 21:33:28 +0000238 stats.AddBytes(BitsToBytesRoundUp(num_bits));
David Srbecky86decb62018-06-05 06:41:10 +0100239}
240
David Srbeckye1402122018-06-13 18:20:45 +0100241void DexRegisterMap::Dump(VariableIndentationOutputStream* vios) const {
242 if (HasAnyLiveDexRegisters()) {
David Srbecky71ec1cc2018-05-18 15:57:25 +0100243 ScopedIndentation indent1(vios);
David Srbeckye1402122018-06-13 18:20:45 +0100244 for (size_t i = 0; i < size(); ++i) {
245 DexRegisterLocation reg = (*this)[i];
246 if (reg.IsLive()) {
247 vios->Stream() << "v" << i << ":" << reg << " ";
David Srbecky71ec1cc2018-05-18 15:57:25 +0100248 }
249 }
250 vios->Stream() << "\n";
251 }
Roland Levillaina552e1c2015-03-26 15:01:03 +0000252}
253
Vladimir Marko8f1e08a2015-06-26 12:06:30 +0100254void CodeInfo::Dump(VariableIndentationOutputStream* vios,
Roland Levillainf2650d12015-05-28 14:53:28 +0100255 uint32_t code_offset,
David Srbecky71ec1cc2018-05-18 15:57:25 +0100256 bool verbose,
David Srbecky8cd54542018-07-15 23:58:44 +0100257 InstructionSet instruction_set) const {
David Srbecky113d6ea2021-03-02 22:49:46 +0000258 vios->Stream() << "CodeInfo"
David Srbecky17b4d2b2021-03-02 18:14:31 +0000259 << " CodeSize:" << code_size_
David Srbecky42deda82018-08-10 11:23:27 +0100260 << " FrameSize:" << packed_frame_size_ * kStackAlignment
261 << " CoreSpillMask:" << std::hex << core_spill_mask_
262 << " FpSpillMask:" << std::hex << fp_spill_mask_
263 << " NumberOfDexRegisters:" << std::dec << number_of_dex_registers_
264 << "\n";
Vladimir Marko8f1e08a2015-06-26 12:06:30 +0100265 ScopedIndentation indent1(vios);
David Srbecky697c47a2019-06-16 21:53:07 +0100266 ForEachBitTableField([this, &vios, verbose](size_t, auto member_pointer) {
David Srbecky42deda82018-08-10 11:23:27 +0100267 const auto& table = this->*member_pointer;
268 if (table.NumRows() != 0) {
269 vios->Stream() << table.GetName() << " BitSize=" << table.DataBitSize();
270 vios->Stream() << " Rows=" << table.NumRows() << " Bits={";
271 const char* const* column_names = table.GetColumnNames();
272 for (size_t c = 0; c < table.NumColumns(); c++) {
273 vios->Stream() << (c != 0 ? " " : "");
274 vios->Stream() << column_names[c] << "=" << table.NumColumnBits(c);
275 }
276 vios->Stream() << "}\n";
277 if (verbose) {
278 ScopedIndentation indent1(vios);
279 for (size_t r = 0; r < table.NumRows(); r++) {
280 vios->Stream() << "[" << std::right << std::setw(3) << r << "]={";
281 for (size_t c = 0; c < table.NumColumns(); c++) {
282 vios->Stream() << (c != 0 ? " " : "");
283 if (&table == static_cast<const void*>(&stack_masks_) ||
284 &table == static_cast<const void*>(&dex_register_masks_)) {
285 BitMemoryRegion bits = table.GetBitMemoryRegion(r, c);
286 for (size_t b = 0, e = bits.size_in_bits(); b < e; b++) {
287 vios->Stream() << bits.LoadBit(e - b - 1);
288 }
289 } else {
290 vios->Stream() << std::right << std::setw(8) << static_cast<int32_t>(table.Get(r, c));
291 }
292 }
293 vios->Stream() << "}\n";
294 }
295 }
296 }
297 });
David Srbecky71ec1cc2018-05-18 15:57:25 +0100298
Roland Levillaina552e1c2015-03-26 15:01:03 +0000299 // Display stack maps along with (live) Dex register maps.
David Srbecky71ec1cc2018-05-18 15:57:25 +0100300 if (verbose) {
David Srbecky93bd3612018-07-02 19:30:18 +0100301 for (StackMap stack_map : stack_maps_) {
David Srbecky8cd54542018-07-15 23:58:44 +0100302 stack_map.Dump(vios, *this, code_offset, instruction_set);
Nicolas Geoffrayb1d0f3f2015-05-14 12:41:51 +0100303 }
304 }
305}
306
Vladimir Marko8f1e08a2015-06-26 12:06:30 +0100307void StackMap::Dump(VariableIndentationOutputStream* vios,
Roland Levillainf2650d12015-05-28 14:53:28 +0100308 const CodeInfo& code_info,
309 uint32_t code_offset,
David Srbecky71ec1cc2018-05-18 15:57:25 +0100310 InstructionSet instruction_set) const {
David Srbecky052f8ca2018-04-26 15:42:54 +0100311 const uint32_t pc_offset = GetNativePcOffset(instruction_set);
Vladimir Marko8f1e08a2015-06-26 12:06:30 +0100312 vios->Stream()
David Srbecky71ec1cc2018-05-18 15:57:25 +0100313 << "StackMap[" << Row() << "]"
Vladimir Marko8f1e08a2015-06-26 12:06:30 +0100314 << std::hex
David Srbecky71ec1cc2018-05-18 15:57:25 +0100315 << " (native_pc=0x" << code_offset + pc_offset
316 << ", dex_pc=0x" << GetDexPc()
David Srbecky052f8ca2018-04-26 15:42:54 +0100317 << ", register_mask=0x" << code_info.GetRegisterMaskOf(*this)
Vladimir Marko8f1e08a2015-06-26 12:06:30 +0100318 << std::dec
319 << ", stack_mask=0b";
David Srbecky052f8ca2018-04-26 15:42:54 +0100320 BitMemoryRegion stack_mask = code_info.GetStackMaskOf(*this);
David Srbecky4b59d102018-05-29 21:46:10 +0000321 for (size_t i = 0, e = stack_mask.size_in_bits(); i < e; ++i) {
David Srbecky45aa5982016-03-18 02:15:09 +0000322 vios->Stream() << stack_mask.LoadBit(e - i - 1);
Roland Levillainf2650d12015-05-28 14:53:28 +0100323 }
David Srbecky634b04a2021-02-23 00:26:35 +0000324 switch (static_cast<Kind>(GetKind())) {
325 case Kind::Default: break;
326 case Kind::Catch: vios->Stream() << ", Catch"; break;
327 case Kind::OSR: vios->Stream() << ", OSR"; break;
328 case Kind::Debug: vios->Stream() << ", Debug"; break;
329 }
Vladimir Marko8f1e08a2015-06-26 12:06:30 +0100330 vios->Stream() << ")\n";
David Srbeckye1402122018-06-13 18:20:45 +0100331 code_info.GetDexRegisterMapOf(*this).Dump(vios);
David Srbecky93bd3612018-07-02 19:30:18 +0100332 for (InlineInfo inline_info : code_info.GetInlineInfosOf(*this)) {
David Srbecky8cd54542018-07-15 23:58:44 +0100333 inline_info.Dump(vios, code_info, *this);
Nicolas Geoffray12bdb722015-06-17 09:44:43 +0100334 }
Roland Levillainf2650d12015-05-28 14:53:28 +0100335}
336
Vladimir Marko8f1e08a2015-06-26 12:06:30 +0100337void InlineInfo::Dump(VariableIndentationOutputStream* vios,
Nicolas Geoffrayb1d0f3f2015-05-14 12:41:51 +0100338 const CodeInfo& code_info,
David Srbecky8cd54542018-07-15 23:58:44 +0100339 const StackMap& stack_map) const {
David Srbecky6e69e522018-06-03 12:00:14 +0100340 uint32_t depth = Row() - stack_map.GetInlineInfoIndex();
341 vios->Stream()
342 << "InlineInfo[" << Row() << "]"
343 << " (depth=" << depth
344 << std::hex
345 << ", dex_pc=0x" << GetDexPc();
346 if (EncodesArtMethod()) {
347 ScopedObjectAccess soa(Thread::Current());
348 vios->Stream() << ", method=" << GetArtMethod()->PrettyMethod();
349 } else {
Vladimir Marko8f1e08a2015-06-26 12:06:30 +0100350 vios->Stream()
David Srbecky6e69e522018-06-03 12:00:14 +0100351 << std::dec
David Srbecky8cd54542018-07-15 23:58:44 +0100352 << ", method_index=" << code_info.GetMethodIndexOf(*this);
David Srbecky6e69e522018-06-03 12:00:14 +0100353 }
354 vios->Stream() << ")\n";
David Srbecky93bd3612018-07-02 19:30:18 +0100355 code_info.GetInlineDexRegisterMapOf(stack_map, *this).Dump(vios);
Nicolas Geoffray004c2302015-03-20 10:06:38 +0000356}
357
358} // namespace art