diff options
author | johnvg | 2013-12-04 11:29:51 +0000 |
---|---|---|
committer | johnvg | 2013-12-04 11:29:51 +0000 |
commit | f4cfedb62d877b349eb239387dccd538b7c97d76 (patch) | |
tree | ded4d383f2cbf49459ca6afacdf4e9de7f30dd5d /backendC/CleanCompilerSources/instructions.h | |
parent | fix printing of uniqueness attributes in type with A. (diff) |
generate .impmod before importing labels and descriptors,
using this information the code generator can determine from which
module a label is imported, this is used when generating position
independent code
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2332 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC/CleanCompilerSources/instructions.h')
-rw-r--r-- | backendC/CleanCompilerSources/instructions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backendC/CleanCompilerSources/instructions.h b/backendC/CleanCompilerSources/instructions.h index e218cca..5249124 100644 --- a/backendC/CleanCompilerSources/instructions.h +++ b/backendC/CleanCompilerSources/instructions.h @@ -145,6 +145,7 @@ void GenSetRedId (int offset); void GenSetDefer (int offset); void SetContinue (int offset); void SetContinueOnReducer (int offset); +void GenImpRecordDesc (char *module_name,char *record_name); void GenImport (SymbDef sdef); void GenExportRecord (SymbDef sdef); void GenExportFieldSelector (SymbDef sdef); @@ -200,7 +201,9 @@ void GenModuleDescriptor (void); void GenDepend (char *modname); #endif void GenEndInfo (void); +void GenImpMod (char *module_name); void GenSystemImports (void); +void import_not_yet_imported_system_labels (void); void GenerateForeignExports (struct foreign_export_list *foreign_export_p); void GenStart (SymbDef startsymb); void InitFileInfo (ImpMod imod); |