Added a asm gen prototype.

This commit is contained in:
Dominik Picheta 2015-02-06 21:46:37 +00:00
commit deeaccd3d7
3 changed files with 277 additions and 1 deletions

View file

@ -117,6 +117,13 @@ type
extensionLoaders*: array['0'..'9', PRope] # special procs for the
# OpenGL wrapper
injectStmt*: PRope
asmSections*: AsmFileSections ## assembly code generated for this module.
## only applicable when the backend used
## is asm.
AsmFileSection* = enum
afsProcs, afsGlobals
AsmFileSections* = array[AsmFileSection, string]
var
mainModProcs*, mainModInit*, otherModsInit*, mainDatInit*: PRope