svf-lib 1.0.1728 → 1.0.1729

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.
@@ -339,13 +339,13 @@ public:
339
339
  return fun;
340
340
  }
341
341
 
342
- /// Return actual return parameter
342
+ /// Return formal return parameter
343
343
  inline const SVFVar *getFormalRet() const
344
344
  {
345
345
  return formalRet;
346
346
  }
347
347
 
348
- /// Add actual return parameter
348
+ /// Add formal return parameter
349
349
  inline void addFormalRet(const SVFVar *fr)
350
350
  {
351
351
  formalRet = fr;
@@ -416,7 +416,7 @@ public:
416
416
  inline const SVFBasicBlock* getExitBB() const
417
417
  {
418
418
  assert(hasBasicBlock() && "function does not have any Basicblock, external function?");
419
- assert((!isNotRet && exitBlock) && "ensure the function has a single basic block containing a return instruction!");
419
+ assert((hasReturn() && exitBlock) && "ensure the function has a single basic block containing a return instruction!");
420
420
  return exitBlock;
421
421
  }
422
422
 
@@ -461,9 +461,9 @@ public:
461
461
  return isUncalled;
462
462
  }
463
463
 
464
- inline bool isNotRetFunction() const
464
+ inline bool hasReturn() const
465
465
  {
466
- return isNotRet;
466
+ return !isNotRet;
467
467
  }
468
468
 
469
469
  inline const std::vector<std::string>& getAnnotations() const
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.1728",
3
+ "version": "1.0.1729",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {