X86 TLB: Add a missing = sign
authorNilay Vaish <nilay@cs.wisc.edu>
Thu, 7 Jun 2012 22:03:45 +0000 (17:03 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Thu, 7 Jun 2012 22:03:45 +0000 (17:03 -0500)
src/arch/x86/tlb.cc

index 623e1871d74d5174f95d240e8ecdc75e86ccffea..df7a33ad2f5e31bd2a301358d32cb80bf4c7c3b4 100644 (file)
@@ -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;
     }