diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2019-02-05 16:47:37 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-05 16:47:37 -0800 |
| commit | 13d7e34d8be4316c59bd3d00a1e5526215db6fa4 (patch) | |
| tree | 1a774f323300e72ca2ae66db2d883491f0790d39 /source/slang/compiler.cpp | |
| parent | 43950e2b2f2b1109fe25e67fc678272af6dfb7ef (diff) | |
| parent | 60cc9f24c4bec54561bea873ee943aa3d0973dc2 (diff) | |
Merge branch 'master' into fix-nested-type-conformances
Diffstat (limited to 'source/slang/compiler.cpp')
| -rw-r--r-- | source/slang/compiler.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/slang/compiler.cpp b/source/slang/compiler.cpp index 29f7a95d9..c93f3f70c 100644 --- a/source/slang/compiler.cpp +++ b/source/slang/compiler.cpp @@ -127,6 +127,17 @@ namespace Slang return compileRequest->translationUnits[translationUnitIndex].Ptr(); } + DeclRef<FuncDecl> EntryPointRequest::getFuncDeclRef() + { + return funcDeclRef; + } + + RefPtr<FuncDecl> EntryPointRequest::getFuncDecl() + { + return getFuncDeclRef().getDecl(); + } + + // Profile Profile::LookUp(char const* name) |
