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
clean-compiler-and-rts
compiler
Commits
f9e5bba6
Verified
Commit
f9e5bba6
authored
Dec 11, 2018
by
Camil Staps
Browse files
Consistent naming for CAFs
parent
9b64feb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
backendC/CleanCompilerSources/codegen.c
View file @
f9e5bba6
...
...
@@ -786,7 +786,7 @@ static void CodeRule (ImpRuleP rule)
GenOStackLayoutOfStates
(
a_stack_size_of_strict_entry
,
init_b_stack_top
,
rule_sdef
->
sdef_arity
,
rule
->
rule_state_p
);
GenLabelDefinition
(
&
CurrentAltLabel
);
Make
Symbol
Label
(
&
caf_label
,
NULL
,
caf_pref
,
rule_sdef
,
0
);
MakeLabel
(
&
caf_label
,
rule_sdef
->
sdef_ident
->
ident_name
,
0
,
caf_pref
);
MakeLabel
(
&
local_label
,
m_symb
,
NewLabelNr
++
,
no_pref
);
DetermineSizeOfState
(
resultstate
,
&
a_size
,
&
b_size
);
...
...
backendC/CleanCompilerSources/codegen1.c
View file @
f9e5bba6
...
...
@@ -55,7 +55,7 @@ char eu_pref[] = "eu";
char
l_pref
[]
=
"l"
;
char
s_pref
[]
=
"s"
;
char
caf_pref
[]
=
"
c
"
;
char
caf_pref
[]
=
"
v
"
;
char
glob_sel
[]
=
"_S"
;
char
m_symb
[]
=
"m"
;
...
...
Write
Preview
Markdown
is supported
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