summaryrefslogtreecommitdiff
path: root/src/expr/node_manager.h
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-04-05 14:28:41 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-04-05 14:28:41 +0000
commit342c81e52224be3afc255a8a719747fa5eafdb32 (patch)
treefea628b06b9cc3305cd75812cfed62c38adb8ea0 /src/expr/node_manager.h
parent484dc0c61b86e49f81d82ef398f0148923c862a0 (diff)
Typos and renames for code review
Diffstat (limited to 'src/expr/node_manager.h')
-rw-r--r--src/expr/node_manager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/expr/node_manager.h b/src/expr/node_manager.h
index 04d2ddac7..83f28a842 100644
--- a/src/expr/node_manager.h
+++ b/src/expr/node_manager.h
@@ -106,7 +106,7 @@ class NodeManager {
/**
* Look up a NodeValue in the pool associated to this NodeManager.
* The NodeValue argument need not be a "completely-constructed"
- * NodeValue. In particular, "non-inlined" constants are permited
+ * NodeValue. In particular, "non-inlined" constants are permitted
* (see below).
*
* For non-CONSTANT metakinds, nv's d_kind and d_nchildren should be
@@ -155,7 +155,7 @@ class NodeManager {
/**
* Register a NodeValue as a zombie.
*/
- inline void gc(expr::NodeValue* nv) {
+ inline void markForDeletion(expr::NodeValue* nv) {
Assert(nv->d_rc == 0);
// if d_reclaiming is set, make sure we don't call
// reclaimZombies(), because it's already running.
@@ -532,7 +532,7 @@ public:
// of Expr functions, it needs to set the current NodeManager
// correctly (and to do that it needs access to
// ExprManager::getNodeManager()). So, we make ExprManagerScope a
-// friend of ExprManager's, since it's implementation is simple to
+// friend of ExprManager's, since its implementation is simple to
// read and understand (and verify that it doesn't do any mischief).
//
// ExprManager::getNodeManager() can't just be made public, since
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback