summaryrefslogtreecommitdiffstats
path: root/src/base/abci
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-10-17 18:04:07 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-10-17 18:04:07 -0700
commitcb4631e64e9a95cafc4ef31a60f006c7f067cf91 (patch)
treeea7a351e796da886f3f91955207972cc2e166be0 /src/base/abci
parent9f2c4e998898a8485cd4afb89ffc268752b1b2e1 (diff)
downloadabc-cb4631e64e9a95cafc4ef31a60f006c7f067cf91.tar.gz
abc-cb4631e64e9a95cafc4ef31a60f006c7f067cf91.tar.bz2
abc-cb4631e64e9a95cafc4ef31a60f006c7f067cf91.zip
Compiler warnings.
Diffstat (limited to 'src/base/abci')
-rw-r--r--src/base/abci/abcRec.c7
-rw-r--r--src/base/abci/abcRec2.c6
2 files changed, 7 insertions, 6 deletions
diff --git a/src/base/abci/abcRec.c b/src/base/abci/abcRec.c
index b86b7b04..4cc1b86e 100644
--- a/src/base/abci/abcRec.c
+++ b/src/base/abci/abcRec.c
@@ -300,7 +300,7 @@ char If_CutDepthRecComput_rec(Abc_Obj_t* pObj, int iLeaf)
Depth1 = If_CutDepthRecComput_rec(Abc_ObjFanin1(pObj), iLeaf);
Depth = Abc_MaxInt(Depth0, Depth1);
Depth = (Depth == -IF_BIG_CHAR) ? -IF_BIG_CHAR : Depth + 1;
- assert(Depth <= 127);
+// assert(Depth <= 127);
return Depth;
}
@@ -324,7 +324,7 @@ unsigned char Abc_NtkRecAreaAndMark_rec(Abc_Obj_t* pObj)
Area0 = Abc_NtkRecAreaAndMark_rec(Abc_ObjFanin0(pObj));
Area1 = Abc_NtkRecAreaAndMark_rec(Abc_ObjFanin1(pObj));
Area = Area1 + Area0 + 1;
- assert(Area <= 255);
+// assert(Area <= 255);
pObj->fMarkA = 1;
return Area;
}
@@ -2642,7 +2642,7 @@ char Abc_NtkRecCurrentDepth_rec(If_Obj_t * pObj, int iLeaf)
Depth1 = Abc_NtkRecCurrentDepth_rec(If_ObjFanin1(pObj), iLeaf);
Depth = Abc_MaxInt(Depth0, Depth1);
Depth = (Depth == -IF_BIG_CHAR) ? -IF_BIG_CHAR : Depth + 1;
- assert(Depth <= 127);
+// assert(Depth <= 127);
return Depth;
}
@@ -3107,3 +3107,4 @@ int If_CutDelayRecCost(If_Man_t* p, If_Cut_t* pCut, If_Obj_t * pObj)
ABC_NAMESPACE_IMPL_END
+
diff --git a/src/base/abci/abcRec2.c b/src/base/abci/abcRec2.c
index 66e1e8a6..cdc1fe13 100644
--- a/src/base/abci/abcRec2.c
+++ b/src/base/abci/abcRec2.c
@@ -702,7 +702,7 @@ static unsigned char Abc_NtkRecAreaAndMark_rec(Gia_Obj_t* pObj)
Area0 = Abc_NtkRecAreaAndMark_rec(Gia_ObjFanin0(pObj));
Area1 = Abc_NtkRecAreaAndMark_rec(Gia_ObjFanin1(pObj));
Area = Area1 + Area0 + 1;
- assert(Area <= 255);
+// assert(Area <= 255);
pObj->fMark0 = 1;
return Area;
}
@@ -771,7 +771,7 @@ char If_CutDepthRecComput_rec2(Gia_Obj_t* pObj, int iLeaf)
Depth1 = If_CutDepthRecComput_rec2(Gia_ObjFanin1(pObj), iLeaf);
Depth = Abc_MaxInt(Depth0, Depth1);
Depth = (Depth == -IF_BIG_CHAR) ? -IF_BIG_CHAR : Depth + 1;
- assert(Depth <= 127);
+// assert(Depth <= 127);
return Depth;
}
@@ -2439,4 +2439,4 @@ void Abc_NtkRecLibMerge2(Gia_Man_t* pGia2)
-ABC_NAMESPACE_IMPL_END \ No newline at end of file
+ABC_NAMESPACE_IMPL_END