summaryrefslogtreecommitdiff
path: root/compiler/exception_test.cc
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2019-01-28 18:59:23 +0000
committer David Srbecky <dsrbecky@google.com> 2019-02-11 13:23:53 +0000
commit68efa7b1128486e08ae60cd27181645b27bbd2e4 (patch)
treebb3f56ecefe08b66f7a330a02caef0b089a0c2af /compiler/exception_test.cc
parent794350fd0e21aa9e259b6c45394494871e7fdb13 (diff)
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
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 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<uint8_t> stack_map = stack_maps.Encode();
const size_t stack_maps_size = stack_map.size();