summaryrefslogtreecommitdiff
path: root/compiler/exception_test.cc
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2021-03-02 18:14:31 +0000
committer David Srbecky <dsrbecky@google.com> 2021-03-05 12:03:30 +0000
commit17b4d2b14fd26088bca195b5d7c48f26b8b545d8 (patch)
treebd2f741127dbb63e04aee99e5f65a2960f63f2be /compiler/exception_test.cc
parent39d529f45bad3ecf2bd6b376a049fde6cb0c21b4 (diff)
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
Diffstat (limited to 'compiler/exception_test.cc')
-rw-r--r--compiler/exception_test.cc2
1 files changed, 1 insertions, 1 deletions
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<uint8_t> stack_map = stack_maps.Encode();
const size_t stack_maps_size = stack_map.size();