From 9d010f68c5ec6ba018b3b1f7f2628a735fc8247a Mon Sep 17 00:00:00 2001 From: johnvg Date: Thu, 28 Feb 2002 15:44:38 +0000 Subject: 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 --- backendC/CleanCompilerSources/codegen1.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'backendC') 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 -- cgit v1.2.3