969c969
< } else {
---
> } else if (src_reg < TheISA::Max_DepTag) {
971a972,973
> } else {
> panic("Reg index is out of bound: %d.", src_reg);
1015c1017
< } else {
---
> } else if (dest_reg < TheISA::Max_DepTag) {
1019a1022,1023
> } else {
> panic("Reg index is out of bound: %d.", dest_reg);