]> gitweb.factorcode.org Git - factor.git/commitdiff
Re-enable shuffle optimization, remove dead code
authorslava <slava@factorcode.org>
Tue, 11 Apr 2006 06:54:10 +0000 (06:54 +0000)
committerslava <slava@factorcode.org>
Tue, 11 Apr 2006 06:54:10 +0000 (06:54 +0000)
library/compiler/linearizer.factor
library/compiler/templates.factor

index 6a47323dfa05ab7200cd0578f52cc72dee44af70..0724f2873aa3f7cbc7e3ddbd22551deef62704f9 100644 (file)
@@ -112,7 +112,7 @@ M: #call-label linearize* ( node -- next )
 
 M: #shuffle linearize* ( #shuffle -- )
     compute-free-vregs
-    node-shuffle dup do-inputs
+    node-shuffle trim-shuffle dup do-inputs
     dup shuffle-out-d swap shuffle-out-r template-outputs
     iterate-next ;
 
index 27aa2bc08dedbc1f79e312805dcd662ea90c77b6..a068eee8f4caf5688b91f02d0c646de05a48a899 100644 (file)
@@ -100,10 +100,6 @@ M: object vreg>stack ( value loc -- )
     phantom-d get finalize-phantom
     phantom-r get finalize-phantom ;
 
-: end-basic-block* ( -- )
-    phantom-d get vregs>stack
-    phantom-r get vregs>stack ;
-
 G: stack>vreg ( value vreg loc -- operand )
     2 standard-combination ;