summaryrefslogtreecommitdiff
path: root/src/ir/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/utils.h')
-rw-r--r--src/ir/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ir/utils.h b/src/ir/utils.h
index 1964f148a..69d5f8e63 100644
--- a/src/ir/utils.h
+++ b/src/ir/utils.h
@@ -85,6 +85,9 @@ struct ExpressionAnalyzer {
// hash an expression, ignoring superficial details like specific internal
// names
static size_t hash(Expression* curr);
+
+ // hash an expression, ignoring child nodes.
+ static size_t shallowHash(Expression* curr);
};
// Re-Finalizes all node types. This can be run after code was modified in