From 100c26c38fdc7cd5879219bbc2cdb11d5ed35d0a Mon Sep 17 00:00:00 2001 From: Phil Dawes Date: Mon, 17 Aug 2009 21:37:16 +0100 Subject: [PATCH] removed global functions from profiler --- vm/profiler.cpp | 12 ------------ vm/profiler.hpp | 2 -- 2 files changed, 14 deletions(-) diff --git a/vm/profiler.cpp b/vm/profiler.cpp index 8f714a992c..1b7c7c1ac5 100755 --- a/vm/profiler.cpp +++ b/vm/profiler.cpp @@ -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() { diff --git a/vm/profiler.hpp b/vm/profiler.hpp index ab1d27b9d8..28bfbcc09f 100755 --- a/vm/profiler.hpp +++ b/vm/profiler.hpp @@ -1,8 +1,6 @@ namespace factor { -void init_profiler(); -code_block *compile_profiling_stub(cell word); PRIMITIVE(profiling); }