From c8123cef1bd73a3e39e82bde53fb8befeb613341 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Sun, 4 Nov 2007 18:57:36 -0500 Subject: [PATCH] Cache: Fix for OS X 10.5 compiling. --HG-- extra : convert_revision : ba3c33ed524367280eefc096177d767168ac2cf6 --- src/mem/cache/tags/iic.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mem/cache/tags/iic.cc b/src/mem/cache/tags/iic.cc index 2f95cdb0f..20babe6bb 100644 --- a/src/mem/cache/tags/iic.cc +++ b/src/mem/cache/tags/iic.cc @@ -233,7 +233,7 @@ IIC::findBlock(Addr addr, int &lat) unsigned set = hash(addr); int set_lat; - unsigned long chain_ptr; + unsigned long chain_ptr = tagNull; if (PROFILE_IIC) setAccess.sample(set); @@ -291,7 +291,7 @@ IIC::findBlock(Addr addr) const Addr tag = extractTag(addr); unsigned set = hash(addr); - unsigned long chain_ptr; + unsigned long chain_ptr = tagNull; IICTag *tag_ptr = sets[set].findTag(tag, chain_ptr); if (tag_ptr == NULL && chain_ptr != tagNull) { -- 2.30.2