summaryrefslogtreecommitdiff
path: root/src/jit/jithashtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/jithashtable.h')
-rw-r--r--src/jit/jithashtable.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jit/jithashtable.h b/src/jit/jithashtable.h
index 52d61a679b..140fc0688f 100644
--- a/src/jit/jithashtable.h
+++ b/src/jit/jithashtable.h
@@ -353,6 +353,12 @@ public:
return m_tableCount;
}
+ // Get the allocator used by this hash table.
+ Allocator* GetAllocator()
+ {
+ return m_alloc;
+ }
+
private:
struct Node;