aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backendC/CleanCompilerSources/codegen1.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/backendC/CleanCompilerSources/codegen1.c b/backendC/CleanCompilerSources/codegen1.c
index 6ab9088..eaf9fbf 100644
--- a/backendC/CleanCompilerSources/codegen1.c
+++ b/backendC/CleanCompilerSources/codegen1.c
@@ -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);