Skip to content

Commit

Permalink
removed extra calling to update replacement information (hpsresearchg…
Browse files Browse the repository at this point in the history
…roup#85)

Co-authored-by: Lingzhe Chester Cai <[email protected]>
  • Loading branch information
chestercai1995 and Lingzhe Chester Cai authored Dec 3, 2020
1 parent b2dc4d4 commit 2bf2565
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libs/cache_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,6 @@ void* cache_access(Cache* cache, Addr addr, Addr* line_addr, Flag update_repl) {
update_repl_policy(cache, line, set, ii, FALSE);
}

if(update_repl)
update_repl_policy(cache, line, set, ii, FALSE);

return line->data;
}
}
Expand Down

0 comments on commit 2bf2565

Please sign in to comment.