diff options
author | johnvg | 2002-10-22 12:26:52 +0000 |
---|---|---|
committer | johnvg | 2002-10-22 12:26:52 +0000 |
commit | 61eb4fc7946339416106992ad7da6c795b92d6d7 (patch) | |
tree | 81a1e4d3ff503e1424ed9a0e2e15bcb42135d996 /backendC/CleanCompilerSources/optimisations.c | |
parent | add boxed records (diff) |
skip some code when not using BOXED_RECORDS
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1258 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC/CleanCompilerSources/optimisations.c')
-rw-r--r-- | backendC/CleanCompilerSources/optimisations.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backendC/CleanCompilerSources/optimisations.c b/backendC/CleanCompilerSources/optimisations.c index 9ceed19..2e8517a 100644 --- a/backendC/CleanCompilerSources/optimisations.c +++ b/backendC/CleanCompilerSources/optimisations.c @@ -2638,9 +2638,9 @@ static void optimise_node_in_then_or_else (NodeP node,FreeUniqueNodeIdsS **f_nod node_id=arg->arg_node->node_node_id; if ((node_id->nid_mark2 & NID_HAS_REFCOUNT_WITHOUT_UPDATES)!=0 && node_id->nid_refcount==-2) ++node_id->nid_number; - +# if BOXED_RECORDS node_id->nid_mark2 |= NID_RECORD_USED_BY_UPDATE; - +# endif arg=arg->arg_next; } # if BOXED_RECORDS @@ -2915,9 +2915,9 @@ static void optimise_node (NodeP node,FreeUniqueNodeIdsS **f_node_ids_l) node_id=arg->arg_node->node_node_id; if ((node_id->nid_mark2 & NID_HAS_REFCOUNT_WITHOUT_UPDATES)!=0 && node_id->nid_refcount==-2) ++node_id->nid_number; - +# if BOXED_RECORDS node_id->nid_mark2 |= NID_RECORD_USED_BY_UPDATE; - +# endif arg=arg->arg_next; } # if BOXED_RECORDS |