From 5352c73dfa9113bdc0206e0c44bbf0861a9a3c39 Mon Sep 17 00:00:00 2001 From: Ryan Gambord Date: Sun, 10 Mar 2019 20:32:21 -0700 Subject: [PATCH] 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 --- src/mem/cache/prefetch/base.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); -- 2.30.2