From d6609793d4ed44068890be810743cf78d3658160 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Thu, 7 Jun 2012 17:03:45 -0500 Subject: [PATCH] X86 TLB: Add a missing = sign --- src/arch/x86/tlb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2