From 8dc904cb9308ed62f8410f9c1ef04ec6a76e7671 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 4 Mar 2020 00:22:48 -0800 Subject: [PATCH] mem: Get rid of an unused Request constructor. This constructor took a physical address and a PC. After deleting it all ISAs still compile. Change-Id: I25f404f80ce7e995688165dc86ac8899da7aa919 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26226 Tested-by: kokoro Reviewed-by: Nikos Nikoleris Maintainer: Gabe Black --- src/mem/request.hh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/mem/request.hh b/src/mem/request.hh index 57ca793a4..5e2c1cc05 100644 --- a/src/mem/request.hh +++ b/src/mem/request.hh @@ -440,18 +440,6 @@ class Request setPhys(paddr, size, flags, mid, time); } - Request(Addr paddr, unsigned size, Flags flags, MasterID mid, Tick time, - Addr pc) - : _paddr(0), _size(0), _masterId(invldMasterId), _time(0), - _taskId(ContextSwitchTaskId::Unknown), _asid(0), _vaddr(0), - _extraData(0), _contextId(0), _pc(pc), - _reqInstSeqNum(0), atomicOpFunctor(nullptr), translateDelta(0), - accessDelta(0), depth(0) - { - setPhys(paddr, size, flags, mid, time); - privateFlags.set(VALID_PC); - } - Request(uint64_t asid, Addr vaddr, unsigned size, Flags flags, MasterID mid, Addr pc, ContextID cid) : _paddr(0), _size(0), _masterId(invldMasterId), _time(0), -- 2.30.2