svf-lib 1.0.2590 → 1.0.2592

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -137,7 +137,9 @@ static inline Type* getPtrElementType(const PointerType* pty)
137
137
  assert(!pty->isOpaque() && "Opaque Pointer is used, please recompile the source adding '-Xclang -no-opaque-pointers'");
138
138
  return pty->getNonOpaquePointerElementType();
139
139
  #else
140
+ (void)pty; // Suppress warning of unused variable under release build
140
141
  assert(false && "llvm version 17+ only support opaque pointers!");
142
+ return nullptr;
141
143
  #endif
142
144
  }
143
145
 
@@ -619,7 +619,7 @@ template <> struct Hash<NodePair>
619
619
  * processor time is measured and is returned by 'clock'.
620
620
  */
621
621
  #define TIMEINTERVAL 1000
622
- #define CLOCK_IN_MS() (clock() / (CLOCKS_PER_SEC / TIMEINTERVAL))
622
+ #define CLOCK_IN_MS() (clock() / (CLOCKS_PER_SEC / (double)TIMEINTERVAL))
623
623
 
624
624
  /// Size of native integer that we'll use for bit vectors, in bits.
625
625
  #define NATIVE_INT_SIZE (sizeof(unsigned long long) * CHAR_BIT)
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.2590",
3
+ "version": "1.0.2592",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {