From 8808756b8fba036a9c73a45c800a56be09872364 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Sat, 23 Jun 2018 22:05:56 +0100 Subject: Remove frame info from OatQuickMethodHeader. The information has been moved to CodeInfo, where it is stored in much more compact way. The old CL which added the data to CodeInfo cost 0.7%. This CL saves 2.5% of .oat file size so a win overall. Test: test-art-host-gtest Change-Id: I07fcf6f2776c96218f995ba3b57a1e6ccbf5e317 --- 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 b56a991e74..90c9e52e84 100644 --- a/compiler/exception_test.cc +++ b/compiler/exception_test.cc @@ -89,7 +89,7 @@ class ExceptionTest : public CommonRuntimeTest { fake_header_code_and_maps_.resize(code_offset + fake_code_.size()); MemoryRegion stack_maps_region(&fake_header_code_and_maps_[0], stack_maps_size); stack_maps.FillInCodeInfo(stack_maps_region); - OatQuickMethodHeader method_header(code_offset, 0u, 4 * sizeof(void*), 0u, 0u, code_size); + OatQuickMethodHeader method_header(code_offset, 0u, code_size); static_assert(std::is_trivially_copyable::value, "Cannot use memcpy"); memcpy(&fake_header_code_and_maps_[code_offset - header_size], &method_header, header_size); std::copy(fake_code_.begin(), -- cgit v1.2.3-59-g8ed1b