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
64061fe3
Commit
64061fe3
authored
Aug 22, 2013
by
John van Groningen
Browse files
bug fix: don't use jmp_eval_upd for record fields of an abstract type
parent
16745aef
Changes
1
Hide whitespace changes
Inline
Side-by-side
backendC/CleanCompilerSources/codegen1.c
View file @
64061fe3
...
...
@@ -1065,7 +1065,11 @@ static void GenLazyFieldSelectorEntry (SymbDef field_def,StateS recstate,int tot
GenRtn
(
1
,
0
,
OnAState
);
}
else
{
if
(
IsLazyState
(
offfieldstate
)){
if
(
ExpectsResultNode
(
demfieldstate
))
if
(
ExpectsResultNode
(
demfieldstate
)
#if ABSTRACT_OBJECT
&&
demfieldstate
.
state_object
!=
AbstractObj
#endif
)
GenJmpEvalUpdate
();
else
{
GenJsrEval
(
0
);
...
...
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