Commit 64061fe3 authored by John van Groningen's avatar John van Groningen
Browse files

bug fix: don't use jmp_eval_upd for record fields of an abstract type

parent 16745aef
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment