aboutsummaryrefslogtreecommitdiff
path: root/backendC
diff options
context:
space:
mode:
authorjohnvg2002-02-28 15:44:38 +0000
committerjohnvg2002-02-28 15:44:38 +0000
commit9d010f68c5ec6ba018b3b1f7f2628a735fc8247a (patch)
tree2744786ed49be1ca858c0dd6d98a2609d11cd2fd /backendC
parentadd unboxing of records in unboxed closures (for record updates) (diff)
add unboxing of records for update function
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1039 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC')
-rw-r--r--backendC/CleanCompilerSources/codegen1.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/backendC/CleanCompilerSources/codegen1.h b/backendC/CleanCompilerSources/codegen1.h
index 78e58cd..e3f6eec 100644
--- a/backendC/CleanCompilerSources/codegen1.h
+++ b/backendC/CleanCompilerSources/codegen1.h
@@ -106,7 +106,11 @@ void GenerateCodeForLazyUnboxedRecordListFunctions (void);
extern int next_update_function_n,next_match_function_n;
extern ImpRuleS *first_update_function,**update_function_p;
-extern SymbDef CreateUpdateFunction (ArgS *record_arg,ArgS *first_field_arg,Node node);
+extern SymbDef CreateUpdateFunction (ArgS *record_arg,ArgS *first_field_arg,Node node
+#if UNBOX_UPDATE_FUNCTION_ARGUMENTS
+ ,int unbox_record
+#endif
+);
#if U_RECORD_SELECTORS
extern SymbDef create_select_function (Symbol selector_symbol,int selector_kind);
#endif