Added a asm gen prototype.
This commit is contained in:
parent
53f4c7758b
commit
deeaccd3d7
3 changed files with 277 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue