Internals: enum size doesn't apply to non-SystemPerl

This commit is contained in:
Wilson Snyder 2010-02-01 18:37:18 -05:00
parent 8dca56521b
commit 2fd5a6d47f

View File

@ -84,12 +84,6 @@ protected:
void VerilatedVcd::open (const char* filename) {
if (isOpen()) return;
// Assertions, as we cast enum to vluint32_t pointers in AutoTrace.pm
enum VerilatedVcd_enumtest { FOO = 1 };
if (sizeof(VerilatedVcd_enumtest) != sizeof(vluint32_t)) {
vl_fatal(__FILE__,__LINE__,"", "Internal: VerilatedVcd::open cast assumption violated");
}
// Set member variables
m_filename = filename;
s_vcdVecp.push_back(this);