* src/cacaoh/dummy.c: Removed asm_criticalsections and
authorStefan Ring <stefan@complang.tuwien.ac.at>
Sat, 3 May 2008 20:25:35 +0000 (22:25 +0200)
committerStefan Ring <stefan@complang.tuwien.ac.at>
Sat, 3 May 2008 20:25:35 +0000 (22:25 +0200)
asm_getclassvalues_atomic. They have not been used anywhere in a long time.
* src/threads/critical.h: Likewise.
* src/vm/jit/i386/cygwin/md-asm.h: Likewise.
* src/vm/jit/i386/darwin/md-asm.h: Likewise.
* src/vm/jit/intrp/asmpart.c: Likewise.

src/cacaoh/dummy.c
src/threads/critical.h
src/vm/jit/i386/cygwin/md-asm.h
src/vm/jit/i386/darwin/md-asm.h
src/vm/jit/intrp/asmpart.c

index 945f209568a2da024d3923988d595c8ccea572b7..82c994a2eab6e89703e6e074617bc811ca44475b 100644 (file)
@@ -151,16 +151,6 @@ void intrp_asm_abstractmethoderror(void)
        abort();
 }
 
-void asm_getclassvalues_atomic(vftbl_t *super, vftbl_t *sub, castinfo *out)
-{
-       abort();
-}
-
-void intrp_asm_getclassvalues_atomic(vftbl_t *super, vftbl_t *sub, castinfo *out)
-{
-       abort();
-}
-
 
 /* builtin ********************************************************************/
 
index 5ff4ae2e406e9dff358fc9277fb2ed268bcedcf5..7bb2917c396620aa4fbdf074f5fb465b002ebc3f 100644 (file)
@@ -50,9 +50,6 @@ typedef struct critical_section_node_t critical_section_node_t;
 
    A node representing a restartable critical section.
 
-   CAUTION: This order must not be changed, it is used in
-            asm_criticalsections!
-
 *******************************************************************************/
 
 struct critical_section_node_t {
index f1ab297dbc357d9ecb94be464f9b04370fcefb29..a20449d7b6c3d4be50cf5947fa50b7bcd6da989d 100644 (file)
@@ -92,9 +92,6 @@
 #define asm_builtin_d2i                       _asm_builtin_d2i
 #define asm_builtin_d2l                       _asm_builtin_d2l
 
-#define asm_criticalsections                  _asm_criticalsections
-#define asm_getclassvalues_atomic             _asm_getclassvalues_atomic
-
 
 /* external defines ***********************************************************/
 
index f1a1a545bd613ce169a5bb7277122a73824b2411..588811a39a7844d92d52d7966dac589c755e9480 100644 (file)
@@ -93,9 +93,6 @@
 #define asm_builtin_d2i                       _asm_builtin_d2i
 #define asm_builtin_d2l                       _asm_builtin_d2l
 
-#define asm_criticalsections                  _asm_criticalsections
-#define asm_getclassvalues_atomic             _asm_getclassvalues_atomic
-
 
 /* external defines ***********************************************************/
 
index a3d94149674e0155f1d20b6ca2f94b91a211b2e0..6bba262c8a44dad463058bf077ab57534ee1ce34 100644 (file)
@@ -314,24 +314,6 @@ void intrp_asm_abstractmethoderror(void)
 }
 
 
-void intrp_asm_getclassvalues_atomic(vftbl_t *super, vftbl_t *sub, castinfo *out)
-{
-       s4 sbv, sdv, sv;
-
-       LOCK_MONITOR_ENTER(linker_classrenumber_lock);
-
-       sbv = super->baseval;
-       sdv = super->diffval;
-       sv  = sub->baseval;
-
-       LOCK_MONITOR_EXIT(linker_classrenumber_lock);
-
-       out->super_baseval = sbv;
-       out->super_diffval = sdv;
-       out->sub_baseval   = sv;
-}
-
-
 /*
  * 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