STR-752: Investigate MkClosure for empty frame list (CLONE -strc: fix frame warnings)
MkClosure emits a warning (in –debug mode) if list of frames is empty. It is not clear
whether this is a valid case or not; investigate and remove warning (or change into
error message).These warnings are quite common:
[ strc | info ] Compiling ‘../../../src/str/xrm-front.str’
Submitted on 14 April 2008 at 10:26
[ strc | info ] Front-end succeeded : [user/system] = [5.36s/1.62s]
[ strc | info ] Optimization succeeded -O 2 : [user/system] = [0.16s/0.05s]
* warning (MkClosure) expects more than one frame: SDefT(“lifted117”{Offsets(0,0),Closure(“lifted117_cl”),ClosureAlloc},[],[],CallT(SVar(“u_45”{Frames([“lifted117”])}),[],[]))
* warning (MkClosure) expects more than one frame: SDefT(“lifted124”{Offsets(0,0),Closure(“lifted124_cl”),ClosureAlloc},[],[],CallT(SVar(“f_45”{Frames([“lifted124”])}),[],[]))
* warning (MkClosure) expects more than one frame: SDefT(“lifted131”{Offsets(0,0),Closure(“lifted131_cl”),ClosureAlloc},[],[],CallT(SVar(“q_44”{Frames([“lifted131”])}),[],[]))
[ strc | info ] Back-end succeeded : [user/system] = [3.82s/0.57s]
[ strc | info ] Compilation succeeded : [user/system] = [9.35s/2.25s]
Issue Log
Log in to post comments