summaryrefslogtreecommitdiff
path: root/source/slang/compiler.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2018-02-22 15:08:47 -0500
committerYong He <yonghe@outlook.com>2018-02-22 15:09:50 -0500
commitac1dfba8dd758febaf93f43e600d5542da6cd3e4 (patch)
treee36f6af482f21889c1155d3a0fd37d318a36c88c /source/slang/compiler.h
parent7eaaf1aa1fdac3fd7ff7b64800a965a2b2c17f66 (diff)
Make `IRGlobalValue::mangledName` a `Name*`
This allows us to get rid of `IRGlobalValue::dispose()`.
Diffstat (limited to 'source/slang/compiler.h')
-rw-r--r--source/slang/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h
index fe3ee9533..a91e03c55 100644
--- a/source/slang/compiler.h
+++ b/source/slang/compiler.h
@@ -429,7 +429,7 @@ namespace Slang
RootNamePool* getRootNamePool() { return &rootNamePool; }
NamePool* getNamePool() { return &namePool; }
-
+ Name* getNameObj(String name) { return namePool.getName(name); }
//
// Generated code for stdlib, etc.