Fix compile error.
authorKevin Lim <ktlim@umich.edu>
Mon, 12 Jun 2006 22:59:24 +0000 (18:59 -0400)
committerKevin Lim <ktlim@umich.edu>
Mon, 12 Jun 2006 22:59:24 +0000 (18:59 -0400)
--HG--
extra : convert_revision : 334f5033f5a3a303bfaec3a3acfbd36f205efe86

src/arch/mips/isa/formats/branch.isa

index 8cfa37a20156184aad236edd7f926662f0ed02ba..ea5af22c04d00a7432400a190b2d02038704a2f4 100644 (file)
@@ -111,7 +111,7 @@ output header {{
         {
         }
 
-        Addr branchTarget(ExecContext *xc) const;
+        Addr branchTarget(ThreadContext *tc) const;
 
         std::string
         generateDisassembly(Addr pc, const SymbolTable *symtab) const;
@@ -132,10 +132,10 @@ output decoder {{
     }
 
     Addr
-    Jump::branchTarget(ExecContext *xc) const
+    Jump::branchTarget(ThreadContext *tc) const
     {
-        Addr NPC = xc->readPC() + 4;
-        uint64_t Rb = xc->readIntReg(_srcRegIdx[0]);
+        Addr NPC = tc->readPC() + 4;
+        uint64_t Rb = tc->readIntReg(_srcRegIdx[0]);
         return (Rb & ~3) | (NPC & 1);
     }