From 17b4d2b14fd26088bca195b5d7c48f26b8b545d8 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Tue, 2 Mar 2021 18:14:31 +0000 Subject: 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 --- 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 9212ea6c90..6a01452024 100644 --- a/compiler/exception_test.cc +++ b/compiler/exception_test.cc @@ -81,7 +81,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