More embarrasing errors fixed
This commit is contained in:
parent
b8225def46
commit
daf8ea247b
4 changed files with 12 additions and 6 deletions
|
@ -172,8 +172,8 @@
|
|||
// called an if guard.
|
||||
case Taken(from, to) :: t if( predictionTable(from)) => helper(t, predictionTable)
|
||||
case Taken(from, to) :: t if(!predictionTable(from)) => 1 + helper(t, predictionTable.updated(from, true))
|
||||
case NotTaken(addr) :: t if(!predictionTable(addr)) => 1 + helper(t, predictionTable.updated(addr, false))
|
||||
case NotTaken(addr) :: t if( predictionTable(addr)) => helper(t, predictionTable)
|
||||
case NotTaken(addr) :: t if( predictionTable(addr)) => 1 + helper(t, predictionTable.updated(addr, false))
|
||||
case NotTaken(addr) :: t if(!predictionTable(addr)) => helper(t, predictionTable)
|
||||
case _ => 0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue