diff options
author | Tim King <taking@cs.nyu.edu> | 2013-11-14 11:56:34 -0500 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2013-11-21 10:43:44 -0500 |
commit | 91424455840a7365a328cbcc3d02ec453fe9d0ea (patch) | |
tree | e8072eb0c7dda81feafb1c5f9a4ca2f0fcbc0399 /src/expr/node.h | |
parent | bd8e9319aab69db90692f72bc52288329879eefc (diff) |
Adding the changes needed to delete rewriter attributes. This includes being able to list attributes. Additionally, added debugging hooks to node manager and attribute manager.
Diffstat (limited to 'src/expr/node.h')
-rw-r--r-- | src/expr/node.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/expr/node.h b/src/expr/node.h index 3a5b6f135..0a4b853aa 100644 --- a/src/expr/node.h +++ b/src/expr/node.h @@ -566,6 +566,14 @@ public: inline const T& getConst() const; /** + * Returns the reference count of this node. + * @return the refcount + */ + unsigned getRefCount() const { + return d_nv->getRefCount(); + } + + /** * Returns the value of the given attribute that this has been attached. * @param attKind the kind of the attribute * @return the value of the attribute |