remove redundant code from checked in generated sources

This commit is contained in:
Eyck Jentzsch 2021-05-26 23:06:31 +02:00
parent aaceecd5dc
commit 8c385647dd

View File

@ -147,8 +147,6 @@ protected:
inline void leave(unsigned lvl){
this->core.leave_trap(lvl);
auto pc_val = super::template read_mem<reg_t>(traits::CSR, (lvl << 8) + 0x41);
this->template get_reg<reg_t>(traits::NEXT_PC) = pc_val;
}
inline void wait(unsigned type){