diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-07-06 09:52:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-06 09:52:53 -0700 |
| commit | 21a14cb4e0d578bc4f8a460016269a1199cac0da (patch) | |
| tree | 88a04619ceaaa37b87199dd82334cc9d102c156d /source/slang/emit.h | |
| parent | f313df379dd9e0d4395f072ffb87016a6f20d5a1 (diff) | |
| parent | f145e09a6dcbcf326f782b3e6a76dbf291c792cf (diff) | |
Merge pull request #53 from tfoleyNV/cross-compilation
Initial work on cross-compilation
Diffstat (limited to 'source/slang/emit.h')
| -rw-r--r-- | source/slang/emit.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/slang/emit.h b/source/slang/emit.h index 4f3e98c8d..da1ac9f08 100644 --- a/source/slang/emit.h +++ b/source/slang/emit.h @@ -8,11 +8,14 @@ namespace Slang { - class ProgramSyntaxNode; + class EntryPointRequest; class ProgramLayout; + class TranslationUnitRequest; - String emitProgram( - ProgramSyntaxNode* program, + // Emit code for a single entry point, based on + // the input translation unit. + String emitEntryPoint( + EntryPointRequest* entryPoint, ProgramLayout* programLayout, CodeGenTarget target); } |
