From: Michael Starzinger Date: Mon, 9 Nov 2009 09:40:25 +0000 (+0100) Subject: * src/vm/jit/stubs.cpp: Removed obsolete legacy C interface. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=cacao.git;a=commitdiff_plain;h=2c230a92972f83d0e9b8fc172907f861b5da4922 * src/vm/jit/stubs.cpp: Removed obsolete legacy C interface. * src/vm/jit/stubs.hpp: Likewise. --- diff --git a/src/vm/jit/stubs.cpp b/src/vm/jit/stubs.cpp index 66489b627..7ab8382d2 100644 --- a/src/vm/jit/stubs.cpp +++ b/src/vm/jit/stubs.cpp @@ -412,18 +412,6 @@ void NativeStub::remove(void* stub) } -// Legacy C interface. - -extern "C" { - void* CompilerStub_generate(methodinfo* m) { return CompilerStub::generate(m); } - void CompilerStub_remove(void* stub) { CompilerStub::remove(stub); } - - void BuiltinStub_generate(methodinfo* m, builtintable_entry* bte) { BuiltinStub::generate(m, bte); } - - void NativeStub_remove(void* stub) { NativeStub::remove(stub); } -} - - /* * These are local overrides for various environment variables in Emacs. * Please do not remove this and leave it at the end of the file, where diff --git a/src/vm/jit/stubs.hpp b/src/vm/jit/stubs.hpp index a8af31404..28d4eb1b9 100644 --- a/src/vm/jit/stubs.hpp +++ b/src/vm/jit/stubs.hpp @@ -70,15 +70,6 @@ public: // Include machine dependent implementation. #include "md-stubs.hpp" -#else - -// Legacy C interface. - -void* CompilerStub_generate(methodinfo* m); -void* CompilerStub_remove(void* stub); -void BuiltinStub_generate(methodinfo* m, builtintable_entry* bte); -void NativeStub_remove(void* stub); - #endif #endif // _STUBS_HPP