removed global functions from words.cpp

db4
Phil Dawes 2009-08-17 21:37:18 +01:00
parent 10bf5ca17c
commit 2dba15535f
2 changed files with 0 additions and 14 deletions

View 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()))));

View 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);
}