equal
deleted
inserted
replaced
25 // This file holds platform-independent bodies of inline functions for the C++ based interpreter |
25 // This file holds platform-independent bodies of inline functions for the C++ based interpreter |
26 |
26 |
27 #ifdef CC_INTERP |
27 #ifdef CC_INTERP |
28 |
28 |
29 #ifdef ASSERT |
29 #ifdef ASSERT |
30 extern "C" { typedef void (*verify_oop_fn_t)(oop, const char *);}; |
30 #define VERIFY_OOP(o_) \ |
31 #define VERIFY_OOP(o) \ |
31 if (VerifyOops) { \ |
32 /*{ verify_oop_fn_t verify_oop_entry = \ |
32 assert((oop(o_))->is_oop_or_null(), "Not an oop!"); \ |
33 *StubRoutines::verify_oop_subroutine_entry_address(); \ |
33 StubRoutines::_verify_oop_count++; \ |
34 if (verify_oop_entry) { \ |
34 } |
35 (*verify_oop_entry)((o), "Not an oop!"); \ |
|
36 } \ |
|
37 }*/ |
|
38 #else |
35 #else |
39 #define VERIFY_OOP(o) |
36 #define VERIFY_OOP(o) |
40 #endif |
37 #endif |
41 |
38 |
42 // Platform dependent data manipulation |
39 // Platform dependent data manipulation |