summaryrefslogtreecommitdiff
path: root/runtime/stack_map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stack_map.cc')
-rw-r--r--runtime/stack_map.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/stack_map.cc b/runtime/stack_map.cc
index 5cda030285..5086f922b0 100644
--- a/runtime/stack_map.cc
+++ b/runtime/stack_map.cc
@@ -87,6 +87,10 @@ CodeInfo CodeInfo::DecodeInlineInfoOnly(const OatQuickMethodHeader* header) {
return copy;
}
+uint32_t CodeInfo::DecodeCodeSize(const OatQuickMethodHeader* header) {
+ return CodeInfo(header->GetOptimizedCodeInfoPtr()).code_size_;
+}
+
size_t CodeInfo::Deduper::Dedupe(const uint8_t* code_info_data) {
writer_.ByteAlign();
size_t deduped_offset = writer_.NumberOfWrittenBits() / kBitsPerByte;
@@ -263,6 +267,7 @@ void CodeInfo::Dump(VariableIndentationOutputStream* vios,
bool verbose,
InstructionSet instruction_set) const {
vios->Stream() << "CodeInfo "
+ << " CodeSize:" << code_size_
<< " FrameSize:" << packed_frame_size_ * kStackAlignment
<< " CoreSpillMask:" << std::hex << core_spill_mask_
<< " FpSpillMask:" << std::hex << fp_spill_mask_