8033289: clang: clean up unused function warning

Reviewed-by: coleenp, dholmes, mgerdin
This commit is contained in:
Henry Jen 2014-02-05 21:24:29 -08:00
parent a3c78aac2f
commit aae536aad7
3 changed files with 2 additions and 14 deletions

View File

@ -107,10 +107,6 @@ static inline Address at_tos_p2() {
return Address(rsp, Interpreter::expr_offset_in_bytes(2));
}
static inline Address at_tos_p3() {
return Address(rsp, Interpreter::expr_offset_in_bytes(3));
}
// Condition conversion
static Assembler::Condition j_not(TemplateTable::Condition cc) {
switch (cc) {

View File

@ -2790,6 +2790,7 @@ inline bool VM_HeapWalkOperation::iterate_over_type_array(oop o) {
return true;
}
#ifdef ASSERT
// verify that a static oop field is in range
static inline bool verify_static_oop(InstanceKlass* ik,
oop mirror, int offset) {
@ -2804,6 +2805,7 @@ static inline bool verify_static_oop(InstanceKlass* ik,
return false;
}
}
#endif // #ifdef ASSERT
// a class references its super class, interfaces, class loader, ...
// and finally its static fields

View File

@ -280,16 +280,6 @@ static inline jint MarsagliaXORV (jint x) {
return x & 0x7FFFFFFF ;
}
static inline jint MarsagliaXOR (jint * const a) {
jint x = *a ;
if (x == 0) x = UNS(a)|1 ;
x ^= x << 6;
x ^= ((unsigned)x) >> 21;
x ^= x << 7 ;
*a = x ;
return x & 0x7FFFFFFF ;
}
static int Stall (int its) {
static volatile jint rv = 1 ;
volatile int OnFrame = 0 ;