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
a354e9c6
Commit
a354e9c6
authored
Dec 13, 2018
by
johnvg@science.ru.nl
Browse files
Merge remote-tracking branch 'camil/consistent-names-for-cafs'
change caf data label name to "v"+++caf_name
parents
9b64feb4
f9e5bba6
Changes
2
Hide whitespace changes
Inline
Side-by-side
backendC/CleanCompilerSources/codegen.c
View file @
a354e9c6
...
@@ -786,7 +786,7 @@ static void CodeRule (ImpRuleP rule)
...
@@ -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
);
GenOStackLayoutOfStates
(
a_stack_size_of_strict_entry
,
init_b_stack_top
,
rule_sdef
->
sdef_arity
,
rule
->
rule_state_p
);
GenLabelDefinition
(
&
CurrentAltLabel
);
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
);
MakeLabel
(
&
local_label
,
m_symb
,
NewLabelNr
++
,
no_pref
);
DetermineSizeOfState
(
resultstate
,
&
a_size
,
&
b_size
);
DetermineSizeOfState
(
resultstate
,
&
a_size
,
&
b_size
);
...
...
backendC/CleanCompilerSources/codegen1.c
View file @
a354e9c6
...
@@ -55,7 +55,7 @@ char eu_pref[] = "eu";
...
@@ -55,7 +55,7 @@ char eu_pref[] = "eu";
char
l_pref
[]
=
"l"
;
char
l_pref
[]
=
"l"
;
char
s_pref
[]
=
"s"
;
char
s_pref
[]
=
"s"
;
char
caf_pref
[]
=
"
c
"
;
char
caf_pref
[]
=
"
v
"
;
char
glob_sel
[]
=
"_S"
;
char
glob_sel
[]
=
"_S"
;
char
m_symb
[]
=
"m"
;
char
m_symb
[]
=
"m"
;
...
...
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