diff options
| author | Yong He <yonghe@outlook.com> | 2019-02-05 18:18:16 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-05 18:18:16 -0800 |
| commit | a39fd3d3f67df28b9206c9f08bc7d046f9b0db59 (patch) | |
| tree | a3971c4c6217914e9dc4c12917f26a7eb6ac28b2 /source/slang/compiler.cpp | |
| parent | c198eaba351850fcb3d82c2f5117efc0e2e2bf1e (diff) | |
| parent | 60cc9f24c4bec54561bea873ee943aa3d0973dc2 (diff) | |
Merge branch 'master' into gencloser
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) |
