gcc compile
This commit is contained in:
parent
109925644f
commit
a20fb113b7
|
|
@ -665,18 +665,19 @@ Power::inferedWhen(FuncExpr *expr,
|
|||
return negate(expr->right());
|
||||
if (isPortRef(expr->right(), from_port))
|
||||
return negate(expr->left());
|
||||
break;
|
||||
}
|
||||
case FuncExpr::op_and: {
|
||||
if (isPortRef(expr->left(), from_port))
|
||||
return expr->right()->copy();
|
||||
if (isPortRef(expr->right(), from_port))
|
||||
return expr->left()->copy();
|
||||
break;
|
||||
}
|
||||
case FuncExpr::op_one:
|
||||
case FuncExpr::op_zero:
|
||||
return nullptr;
|
||||
break;
|
||||
}
|
||||
// gcc not too smaht
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
#define STA_HASHSET_H
|
||||
|
||||
#include <stddef.h> // size_t
|
||||
#include "Hash.hh"
|
||||
|
||||
namespace sta {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue