From 4ab02352db4051d590b793f34d166a0b5c633c4a Mon Sep 17 00:00:00 2001 From: Serban Constantinescu Date: Wed, 12 Aug 2015 11:52:22 +0100 Subject: Use CodeGenerator::RecordPcInfo instead of SlowPathCode::RecordPcInfo. Part of a clean-up and refactoring series. SlowPathCode::RecordPcInfo is currently just a wrapper around CodGenerator::RecordPcInfo. Change-Id: Iffabef4ef37c365051130bf98a6aa6dc0a0fb254 Signed-off-by: Serban Constantinescu --- compiler/optimizing/code_generator.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'compiler/optimizing/code_generator.cc') diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index 503187bd3d..7c60026642 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -1071,12 +1071,6 @@ void CodeGenerator::ValidateInvokeRuntime(HInstruction* instruction, SlowPathCod << instruction->DebugName() << ((slow_path != nullptr) ? slow_path->GetDescription() : ""); } -void SlowPathCode::RecordPcInfo(CodeGenerator* codegen, - HInstruction* instruction, - uint32_t dex_pc) { - codegen->RecordPcInfo(instruction, dex_pc, this); -} - void SlowPathCode::SaveLiveRegisters(CodeGenerator* codegen, LocationSummary* locations) { RegisterSet* register_set = locations->GetLiveRegisters(); size_t stack_offset = codegen->GetFirstRegisterSlotInSlowPath(); -- cgit v1.2.3-59-g8ed1b