Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Duncan White
C-datadec
Commits
a2836d6d
Commit
a2836d6d
authored
Apr 10, 1992
by
dcw
Browse files
added Boolean PutLoop to each definition flags;
TRUE if we're optimizing (temporary code) or FALSE otherwise
parent
9add1c18
Changes
1
Show whitespace changes
Inline
Side-by-side
optimize.c
View file @
a2836d6d
...
...
@@ -29,7 +29,7 @@ void optimize( d ) declnlist d;
}
else
{
d
->
Defines
=
d
->
TagField
=
d
->
Struct
=
d
->
Union
=
TRUE
;
d
->
UseNull
=
FALSE
;
d
->
UseNull
=
d
->
PutLoop
=
FALSE
;
}
}
}
...
...
@@ -61,6 +61,7 @@ static void optimize_decln( d ) declnlist d; /* JUST THE FIRST */
d
->
TagField
=
ne
>
1
||
(
ne
>
0
&&
t
>
2
);
d
->
Union
=
ne
>
1
;
d
->
UseNull
=
ne
>
0
&&
firstempty
;
d
->
PutLoop
=
TRUE
;
if
(
verbose
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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