From: Nilay Vaish Date: Thu, 7 Jun 2012 22:03:45 +0000 (-0500) Subject: X86 TLB: Add a missing = sign X-Git-Tag: stable_2012_06_28~9 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6609793d4ed44068890be810743cf78d3658160;p=gem5.git X86 TLB: Add a missing = sign --- diff --git a/src/arch/x86/tlb.cc b/src/arch/x86/tlb.cc index 623e1871d..df7a33ad2 100644 --- a/src/arch/x86/tlb.cc +++ b/src/arch/x86/tlb.cc @@ -101,7 +101,7 @@ TLB::insert(Addr vpn, TlbEntry &entry) // If somebody beat us to it, just use that existing entry. TlbEntry *newEntry = trie.lookup(vpn); if (newEntry) { - assert(newEntry->vaddr = vpn); + assert(newEntry->vaddr == vpn); return newEntry; }