From: Ryan Gambord Date: Mon, 11 Mar 2019 03:32:21 +0000 (-0700) Subject: mem-cache: Removed default arg from get() in prefetch/base.hh X-Git-Tag: v19.0.0.0~1064 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5352c73dfa9113bdc0206e0c44bbf0861a9a3c39;p=gem5.git mem-cache: Removed default arg from get() in prefetch/base.hh commit b0d1643 caused building against NULL to break due to NULLIsa::GuestByteOrder not being defined. Removal of default argument in src/mem/cache/prefetch/base.hh fixes this. Change-Id: I99a4abb4be1418fadec145481164f7caa3334ca0 Signed-off-by: Ryan Gambord Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17070 Reviewed-by: Daniel Carvalho Reviewed-by: Nikos Nikoleris Maintainer: Nikos Nikoleris --- diff --git a/src/mem/cache/prefetch/base.hh b/src/mem/cache/prefetch/base.hh index 05895f223..3ef607fad 100644 --- a/src/mem/cache/prefetch/base.hh +++ b/src/mem/cache/prefetch/base.hh @@ -201,7 +201,7 @@ class BasePrefetcher : public ClockedObject */ template inline T - get(ByteOrder endian = TheISA::GuestByteOrder) const + get(ByteOrder endian) const { if (data == nullptr) { panic("PrefetchInfo::get called with a request with no data.");