Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
a257ead9
Commit
a257ead9
authored
Dec 01, 2003
by
John van Groningen
Browse files
bug fix for strict and unboxed list constructors on a cycle in
a strict context or lazy context with evaluated head (and/or tail)
parent
13759745
Changes
1
Hide whitespace changes
Inline
Side-by-side
backendC/CleanCompilerSources/codegen2.c
View file @
a257ead9
...
...
@@ -3074,9 +3074,9 @@ static void FillNormalNode (Node node,int *asp_p,int *bsp_p,NodeId update_node_i
GenBuildh
(
node
->
node_arity
==
2
?
&
cons_lab
:
strict_cons_lab_p
,
a_size
);
}
else
{
if
(
symb
->
symb_head_strictness
==
4
)
GenFillR
(
strict_cons_lab_p
,
a_size
,
b_size
,
*
asp_p
+
a_size
-
update_node_id
->
nid_a_index
,
0
,
0
,
node
->
node_state
.
state_kind
==
SemiStrict
?
ReleaseAndFill
:
NormalFill
,
True
);
GenFillR
(
strict_cons_lab_p
,
a_size
,
b_size
,
*
asp_p
-
update_node_id
->
nid_a_index
,
0
,
0
,
node
->
node_state
.
state_kind
==
SemiStrict
?
ReleaseAndFill
:
NormalFill
,
True
);
else
GenFillh
(
strict_cons_lab_p
,
a_size
,
*
asp_p
-
update_node_id
->
nid_a_index
,
node
->
node_state
.
state_kind
==
SemiStrict
?
ReleaseAndFill
:
NormalFill
);
GenFillh
(
node
->
node_arity
==
2
?
&
cons_lab
:
strict_cons_lab_p
,
a_size
,
*
asp_p
-
update_node_id
->
nid_a_index
,
node
->
node_state
.
state_kind
==
SemiStrict
?
ReleaseAndFill
:
NormalFill
);
*
asp_p
-=
a_size
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment