remove no-op macros and dead code (pt 4) (#8037)

* remove no-op macros and dead code (pt 4)

* review comments
This commit is contained in:
Hussein Faara
2025-01-25 22:49:50 -08:00
committed by GitHub
parent 78b11c8c12
commit 44364fd982
40 changed files with 51 additions and 1548 deletions

View File

@@ -272,18 +272,6 @@ DiscreteValueVect &DiscreteValueVect::operator-=(
return *this;
}
#if 0
DiscreteValueVect DiscreteValueVect::operator~() const {
DiscreteValueVect ans(d_type,d_length);
unsigned int maxVal = (1<<d_bitsPerVal) - 1;
for(unsigned int i=0;i<d_length;++i){
unsigned int v1=getVal(i);
ans.setVal(i,maxVal-v1);
}
return(ans);
};
#endif
DiscreteValueVect operator+(const DiscreteValueVect &p1,
const DiscreteValueVect &p2) {
DiscreteValueVect res(p1);