Add code size to CodeInfo.

This is in preparation of removing it from OatQuickMethodHeader.

Bug: 123510633
Test: m test-art-host-gtest
Test: ./art/test.py -b -r --host
Change-Id: I5c5adb4c040e329b81c1393aa1b80ee017729c8a
diff --git a/runtime/stack_map.cc b/runtime/stack_map.cc
index 5cda030..5086f92 100644
--- a/runtime/stack_map.cc
+++ b/runtime/stack_map.cc
@@ -87,6 +87,10 @@
   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 @@
                     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_