diff options
Diffstat (limited to 'source/slang/compiler.h')
| -rw-r--r-- | source/slang/compiler.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h index 7ec812d63..1919699a1 100644 --- a/source/slang/compiler.h +++ b/source/slang/compiler.h @@ -15,6 +15,7 @@ namespace Slang struct IncludeHandler; class CompileRequest; class ProgramLayout; + class PtrType; enum class CompilerMode { @@ -369,6 +370,7 @@ namespace Slang RefPtr<Type> errorType; RefPtr<Type> initializerListType; RefPtr<Type> overloadedType; + RefPtr<Type> irBasicBlockType; Dictionary<int, RefPtr<Type>> builtinTypes; Dictionary<String, Decl*> magicDecls; @@ -388,6 +390,12 @@ namespace Slang Type* getOverloadedType(); Type* getErrorType(); + // Should not be used in front-end code + Type* getIRBasicBlockType(); + + // Construct pointer types on-demand + RefPtr<PtrType> getPtrType(RefPtr<Type> valueType); + SyntaxClass<RefObject> findSyntaxClass(Name* name); Dictionary<Name*, SyntaxClass<RefObject> > mapNameToSyntaxClass; |
