From 68efa7b1128486e08ae60cd27181645b27bbd2e4 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Mon, 28 Jan 2019 18:59:23 +0000 Subject: Add code size to CodeInfo This temporarily adds 0.25% to oat file size. The space will be reclaimed back in follow-up CL. Bug: 123510633 Test: DCHECK compare the two stored code sizes. Change-Id: I15340824ca637fd075a4cef87771b06cb96bb9f4 --- compiler/exception_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/exception_test.cc') diff --git a/compiler/exception_test.cc b/compiler/exception_test.cc index d5ceafeac9..f978cc62f3 100644 --- a/compiler/exception_test.cc +++ b/compiler/exception_test.cc @@ -80,7 +80,7 @@ class ExceptionTest : public CommonRuntimeTest { stack_maps.BeginMethod(4 * sizeof(void*), 0u, 0u, 0u); stack_maps.BeginStackMapEntry(kDexPc, native_pc_offset); stack_maps.EndStackMapEntry(); - stack_maps.EndMethod(); + stack_maps.EndMethod(code_size); ScopedArenaVector stack_map = stack_maps.Encode(); const size_t stack_maps_size = stack_map.size(); -- cgit v1.2.3-59-g8ed1b