mirror of
https://github.com/verilator/verilator.git
synced 2026-10-02 16:13:34 +02:00
Fix Mac OSX 10.13.6 / LLVM 9.1 compile issues, bug1348.
This commit is contained in:
@@ -4,6 +4,8 @@ The contributors that suggested a given feature are shown in []. Thanks!
|
||||
|
||||
* Verilator 4.003 devel
|
||||
|
||||
*** Fix Mac OSX 10.13.6 / LLVM 9.1 compile issues, bug1348. [Kevin Kiningham]
|
||||
|
||||
|
||||
* Verilator 4.002 2018-09-16
|
||||
|
||||
|
||||
@@ -234,7 +234,6 @@ vluint64_t vl_rand64() VL_MT_SAFE {
|
||||
if (VL_UNLIKELY(!t_seeded)) {
|
||||
t_seeded = true;
|
||||
{
|
||||
long seedval;
|
||||
VerilatedLockGuard lock(s_mutex);
|
||||
t_state[0] = (((vluint64_t)vl_sys_rand32())<<32
|
||||
^ ((vluint64_t)vl_sys_rand32()));
|
||||
|
||||
+1
-1
@@ -1875,7 +1875,7 @@ void EmitCImp::emitSavableImp(AstNodeModule* modp) {
|
||||
}
|
||||
}
|
||||
ofp()->printf( "vluint64_t __Vcheckval = VL_ULL(0x%" VL_PRI64 "x);\n",
|
||||
hash.digestUInt64());
|
||||
(vluint64_t)hash.digestUInt64());
|
||||
if (de) {
|
||||
puts("os.readAssert(__Vcheckval);\n");
|
||||
} else {
|
||||
|
||||
+2
-4
@@ -61,8 +61,7 @@ private:
|
||||
size_t operator() (const AstSenTree* kp) const {
|
||||
return V3Hashed::uncachedHash(kp).fullValue();
|
||||
}
|
||||
private:
|
||||
VL_UNCOPYABLE(HashSenTree);
|
||||
// Copying required for OSX's libc++
|
||||
};
|
||||
|
||||
class EqSenTree {
|
||||
@@ -71,8 +70,7 @@ private:
|
||||
bool operator() (const AstSenTree* ap, const AstSenTree* bp) const {
|
||||
return ap->sameTree(bp);
|
||||
}
|
||||
private:
|
||||
VL_UNCOPYABLE(EqSenTree);
|
||||
// Copying required for OSX's libc++
|
||||
};
|
||||
|
||||
// MEMBERS
|
||||
|
||||
Reference in New Issue
Block a user