Quellcode durchsuchen

xplat: re-enable compile assert for BVSparseNode

It's indeed 16 bytes on GNU/Linux 64bit Clang 3.8. Since it seems
important to avoid regressions here we should re-enable it.
Xan López vor 9 Jahren
Ursprung
Commit
f9d25dfbf6
1 geänderte Dateien mit 0 neuen und 3 gelöschten Zeilen
  1. 0 3
      lib/Common/DataStructures/SparseBitVector.h

+ 0 - 3
lib/Common/DataStructures/SparseBitVector.h

@@ -91,10 +91,7 @@ struct BVSparseNode
 #endif
 };
 
-// xplat-todo: revisit for unix
-#ifdef _WIN32
 CompileAssert(sizeof(BVSparseNode) == 16); // Performance assert, BVSparseNode is heavily used in the backend, do perf measurement before changing this.
-#endif
 
 template <class TAllocator>
 class BVSparse