* src/vm/jit/stubs.cpp: Removed obsolete legacy C interface.
authorMichael Starzinger <michi@complang.tuwien.ac.at>
Mon, 9 Nov 2009 09:40:25 +0000 (10:40 +0100)
committerMichael Starzinger <michi@complang.tuwien.ac.at>
Mon, 9 Nov 2009 09:40:25 +0000 (10:40 +0100)
* src/vm/jit/stubs.hpp: Likewise.

src/vm/jit/stubs.cpp
src/vm/jit/stubs.hpp

index 66489b627a05f24eb5462a780e43708b26c21f50..7ab8382d2b99efd66e5d735a4e3ac5f1965df4df 100644 (file)
@@ -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
index a8af31404f485e21832921db925c92ec16d42b59..28d4eb1b93c908bb4a169a80ad9c5690476dc442 100644 (file)
@@ -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