]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/compiler/cfg/stacks/clearing/clearing.factor
compiler.*: Remove the scrubbing part of the GC maps
[factor.git] / basis / compiler / cfg / stacks / clearing / clearing.factor
index d3310072bbbb5c3f15041e92640c0df91a9c1629..205c4f618fad07f59fd53ec5cc9dff868a0b4006 100644 (file)
@@ -8,7 +8,8 @@ IN: compiler.cfg.stacks.clearing
     [ f ##clear boa ] map ;
 
 : dangerous-insn? ( state insn -- ? )
-    { [ nip ##peek? ] [ underflowable-peek? ] } 2&& ;
+    [ { [ nip ##peek? ] [ underflowable-peek? ] } 2&& ]
+    [ gc-map-insn? ] bi or ;
 
 : clearing-insns ( assoc insn -- insns' )
     [ insn#>> of ] keep 2dup dangerous-insn? [