svf-lib 1.0.2247 → 1.0.2248

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.
@@ -323,12 +323,14 @@ class SVFFunctionType : public SVFType
323
323
 
324
324
  private:
325
325
  const SVFType* retTy;
326
+ std::vector<const SVFType*> params;
326
327
 
327
328
  public:
328
- SVFFunctionType(const SVFType* rt)
329
- : SVFType(false, SVFFunctionTy, 1), retTy(rt)
329
+ SVFFunctionType(const SVFType* rt, const std::vector<const SVFType*>& p)
330
+ : SVFType(false, SVFFunctionTy, 1), retTy(rt), params(p)
330
331
  {
331
332
  }
333
+
332
334
  static inline bool classof(const SVFType* node)
333
335
  {
334
336
  return node->getKind() == SVFFunctionTy;
@@ -338,6 +340,11 @@ public:
338
340
  return retTy;
339
341
  }
340
342
 
343
+ const std::vector<const SVFType*>& getParamTypes() const
344
+ {
345
+ return params;
346
+ }
347
+
341
348
  void print(std::ostream& os) const override;
342
349
  };
343
350
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.2247",
3
+ "version": "1.0.2248",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {