]> gitweb.factorcode.org Git - factor.git/commitdiff
remove unneeded DLLEXPORT and obsolete optimizer tests
authorSlava Pestov <slava@factorcode.org>
Mon, 13 Dec 2004 21:46:30 +0000 (21:46 +0000)
committerSlava Pestov <slava@factorcode.org>
Mon, 13 Dec 2004 21:46:30 +0000 (21:46 +0000)
library/test/optimizer.factor [deleted file]
native/arithmetic.h
native/types.h

diff --git a/library/test/optimizer.factor b/library/test/optimizer.factor
deleted file mode 100644 (file)
index 70674dc..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-IN: scratchpad
-USE: test
-USE: compiler
-USE: inference
-USE: words
-USE: math
-USE: combinators
-
-: foo 1 2 3 ;
-
-[ [ ] ] [ \ foo word-parameter dataflow kill-set ] unit-test
-
-[ [ [ + ] [ - ] ] ] [ [ 3 4 1 2 > [ + ] [ - ] ifte ] dataflow kill-set ] unit-test
-
-[ [ [ 1 ] [ 2 ] ] ] [ [ [ 1 ] [ 2 ] ifte ] dataflow kill-set ] unit-test
index 747bc381e57f20f0e5624e4bf24cb93193d5deb2..840810d54ae2eb6deee5f3407a7e3d7dbdaecd5c 100644 (file)
@@ -1,6 +1,6 @@
 #include "factor.h"
 
-DLLEXPORT CELL arithmetic_type(CELL obj1, CELL obj2);
+CELL arithmetic_type(CELL obj1, CELL obj2);
 void primitive_arithmetic_type(void);
 
 bool realp(CELL tagged);
index d03d4c6a363698b923511543f25ff9efc32a517f..6bc956bc8a1f08669cbaa2ff4bfdb02a8332e3e3 100644 (file)
@@ -43,7 +43,7 @@ CELL T;
 #define NUMBER_TYPE 103 /* F_COMPLEX or REAL */
 #define TEXT_TYPE 104 /* F_FIXNUM or F_STRING */
 
-DLLEXPORT CELL type_of(CELL tagged);
+CELL type_of(CELL tagged);
 bool typep(CELL type, CELL tagged);
 
 INLINE CELL tag_header(CELL cell)