summaryrefslogtreecommitdiff
path: root/runtime/stack_map.cc
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2019-02-13 17:27:17 +0000
committer David Srbecky <dsrbecky@google.com> 2019-02-14 09:43:00 +0000
commite1412dacbf1d2a809bd1fca658cc8cb8f61f8ee6 (patch)
treebb3f56ecefe08b66f7a330a02caef0b089a0c2af /runtime/stack_map.cc
parent8f20a23a35fa6fbe4dcb4ff70268a24dc7fb2a24 (diff)
Revert^2 "Add code size to CodeInfo"
This temporarily adds 0.25% to oat file size. The space will be reclaimed back in follow-up CL. This reverts commit 8f20a23a35fa6fbe4dcb4ff70268a24dc7fb2a24. Reason for revert: Reland as-is after CL/903819 Bug: 123510633 Test: DCHECK compare the two stored code sizes. Change-Id: Ia3ab31c208948f4996188764fcdcba13d9977d19
Diffstat (limited to 'runtime/stack_map.cc')
-rw-r--r--runtime/stack_map.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/stack_map.cc b/runtime/stack_map.cc
index 62dec15c57..5d30b771ae 100644
--- a/runtime/stack_map.cc
+++ b/runtime/stack_map.cc
@@ -227,6 +227,7 @@ void CodeInfo::Dump(VariableIndentationOutputStream* vios,
bool verbose,
InstructionSet instruction_set) const {
vios->Stream() << "CodeInfo BitSize=" << size_in_bits_
+ << " CodeSize:" << StackMap::UnpackNativePc(packed_code_size_, instruction_set)
<< " FrameSize:" << packed_frame_size_ * kStackAlignment
<< " CoreSpillMask:" << std::hex << core_spill_mask_
<< " FpSpillMask:" << std::hex << fp_spill_mask_