]> gitweb.factorcode.org Git - factor.git/commitdiff
removed global functions from words.cpp
authorPhil Dawes <phil@phildawes.net>
Mon, 17 Aug 2009 20:37:18 +0000 (21:37 +0100)
committerPhil Dawes <phil@phildawes.net>
Wed, 16 Sep 2009 07:16:28 +0000 (08:16 +0100)
vm/words.cpp
vm/words.hpp

index 68b6afd9d05d10461c48df289a39942815997eac..f3c511efe9fb76317b6abca955f3c86514d6af86 100644 (file)
@@ -31,11 +31,6 @@ word *factorvm::allot_word(cell vocab_, cell name_)
        return new_word.untagged();
 }
 
-word *allot_word(cell vocab_, cell name_)
-{
-       return vm->allot_word(vocab_,name_);
-}
-
 /* <word> ( name vocabulary -- word ) */
 inline void factorvm::vmprim_word()
 {
@@ -79,11 +74,6 @@ void factorvm::update_word_xt(cell w_)
                w->xt = w->code->xt();
 }
 
-void update_word_xt(cell w_)
-{
-       return vm->update_word_xt(w_);
-}
-
 inline void factorvm::vmprim_optimized_p()
 {
        drepl(tag_boolean(word_optimized_p(untag_check<word>(dpeek()))));
index f9d5a7aff46fc5847163f3421aee62a54ef5669f..d3be2bde07b506f4a08ad321f6f218c73e699dba 100644 (file)
@@ -1,11 +1,8 @@
 namespace factor
 {
 
-word *allot_word(cell vocab, cell name);
-
 PRIMITIVE(word);
 PRIMITIVE(word_xt);
-void update_word_xt(cell word);
 
 inline bool word_optimized_p(word *word)
 {
@@ -13,7 +10,6 @@ inline bool word_optimized_p(word *word)
 }
 
 PRIMITIVE(optimized_p);
-
 PRIMITIVE(wrapper);
 
 }