aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources
diff options
context:
space:
mode:
authorronny2001-02-23 13:07:34 +0000
committerronny2001-02-23 13:07:34 +0000
commit2fd410cd5333ac36e4cbc581a30aef6265abd34b (patch)
tree5838c56c3da1d94c1600d919cb8df4d8fd2ed1d9 /backendC/CleanCompilerSources
parentincluding porting facilities (diff)
temporary hack: redirect basic type Dynamic to DynamicTemp from StdDynamic
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@304 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC/CleanCompilerSources')
-rw-r--r--backendC/CleanCompilerSources/backend.dcl8
-rw-r--r--backendC/CleanCompilerSources/backend.h11
2 files changed, 15 insertions, 4 deletions
diff --git a/backendC/CleanCompilerSources/backend.dcl b/backendC/CleanCompilerSources/backend.dcl
index c346245..af49d08 100644
--- a/backendC/CleanCompilerSources/backend.dcl
+++ b/backendC/CleanCompilerSources/backend.dcl
@@ -220,9 +220,13 @@ BEDefineImportedObjsAndLibs :: !BEStringListP !BEStringListP !BackEnd -> BackEnd
// void BEDefineImportedObjsAndLibs(BEStringListP objs,BEStringListP libs);
BESetMainDclModuleN :: !Int !BackEnd -> BackEnd;
// void BESetMainDclModuleN(int main_dcl_module_n_parameter);
-kBEVersionCurrent:==0x02000204;
+BEDeclareDynamicTypeSymbol :: !Int !Int !BackEnd -> BackEnd;
+// void BEDeclareDynamicTypeSymbol(int typeIndex,int moduleIndex);
+BEDynamicTempTypeSymbol :: !BackEnd -> (!BESymbolP,!BackEnd);
+// BESymbolP BEDynamicTempTypeSymbol();
+kBEVersionCurrent:==0x02000206;
kBEVersionOldestDefinition:==0x02000204;
-kBEVersionOldestImplementation:==0x02000204;
+kBEVersionOldestImplementation:==0x02000206;
kBEDebug:==1;
kPredefinedModuleIndex:==1;
BENoAnnot:==0;
diff --git a/backendC/CleanCompilerSources/backend.h b/backendC/CleanCompilerSources/backend.h
index 5756288..23d7b8c 100644
--- a/backendC/CleanCompilerSources/backend.h
+++ b/backendC/CleanCompilerSources/backend.h
@@ -1,8 +1,8 @@
/* version info */
-# define kBEVersionCurrent 0x02000205
+# define kBEVersionCurrent 0x02000206
# define kBEVersionOldestDefinition 0x02000204
-# define kBEVersionOldestImplementation 0x02000204
+# define kBEVersionOldestImplementation 0x02000206
# define kBEDebug 1
@@ -427,3 +427,10 @@ Clean (BEDefineImportedObjsAndLibs :: BEStringListP BEStringListP BackEnd -> Bac
void BESetMainDclModuleN (int main_dcl_module_n_parameter);
Clean (BESetMainDclModuleN :: Int BackEnd -> BackEnd)
+
+// temporary hack
+void BEDeclareDynamicTypeSymbol (int typeIndex, int moduleIndex);
+Clean (BEDeclareDynamicTypeSymbol :: Int Int BackEnd -> BackEnd)
+
+BESymbolP BEDynamicTempTypeSymbol (void);
+Clean (BEDynamicTempTypeSymbol :: BackEnd -> (BESymbolP, BackEnd))