From dec8f63fdf50815f24efe1c03af64208da15f339 Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Fri, 22 Jul 2016 17:10:06 +0100 Subject: Do not emit stack maps for runtime calls to ReadBarrierMarkRegX. * Boot image code size variation on Nexus 5X (aosp_bullhead-userdebug build): - total ARM64 framework Oat files size change: 115584120 bytes -> 109124728 bytes (-5.59%) - total ARM framework Oat files size change: 97387728 bytes -> 92517584 (-5.00%) Test: ART host and target (ARM, ARM64) tests. Bug: 29506760 Bug: 12687968 Change-Id: I979d9fb2b4e09f4c0c7bf33af2cd91750a67f989 --- compiler/optimizing/code_generator.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'compiler/optimizing/code_generator.h') diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index 5e6e175c67..2042adef1c 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -379,8 +379,14 @@ class CodeGenerator : public DeletableArenaObject { return type == Primitive::kPrimNot && !value->IsNullConstant(); } + + // Perfoms checks pertaining to an InvokeRuntime call. void ValidateInvokeRuntime(HInstruction* instruction, SlowPathCode* slow_path); + // Perfoms checks pertaining to an InvokeRuntimeWithoutRecordingPcInfo call. + static void ValidateInvokeRuntimeWithoutRecordingPcInfo(HInstruction* instruction, + SlowPathCode* slow_path); + void AddAllocatedRegister(Location location) { allocated_registers_.Add(location); } -- cgit v1.2.3-59-g8ed1b