From e1412dacbf1d2a809bd1fca658cc8cb8f61f8ee6 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Wed, 13 Feb 2019 17:27:17 +0000 Subject: 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 --- 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