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

index 8f714a992c4c43a95f0f941dc55b3a767ee53099..1b7c7c1ac544eaff373db90dcb829531e0185698 100755 (executable)
@@ -9,10 +9,6 @@ void factorvm::init_profiler()
        profiling_p = false;
 }
 
-void init_profiler()
-{
-       return vm->init_profiler();
-}
 
 /* Allocates memory */
 code_block *factorvm::compile_profiling_stub(cell word_)
@@ -25,10 +21,6 @@ code_block *factorvm::compile_profiling_stub(cell word_)
        return jit.to_code_block();
 }
 
-code_block *compile_profiling_stub(cell word_)
-{
-       return vm->compile_profiling_stub(word_);
-}
 
 /* Allocates memory */
 void factorvm::set_profiling(bool profiling)
@@ -58,10 +50,6 @@ void factorvm::set_profiling(bool profiling)
        iterate_code_heap(factor::relocate_code_block);
 }
 
-void set_profiling(bool profiling)
-{
-       return vm->set_profiling(profiling);
-}
 
 inline void factorvm::vmprim_profiling()
 {
index ab1d27b9d8184d7846d9b34170e2c5740e1b9476..28bfbcc09fc64be2c4205884d7390b1c6c501748 100755 (executable)
@@ -1,8 +1,6 @@
 namespace factor
 {
 
-void init_profiler();
-code_block *compile_profiling_stub(cell word);
 PRIMITIVE(profiling);
 
 }