diff src/share/vm/prims/jvmtiTagMap.cpp @ 15505:51c6ce89d4dd

8033289: clang: clean up unused function warning Reviewed-by: coleenp, dholmes, mgerdin
author henryjen
date Wed, 05 Feb 2014 21:24:29 -0800
parents 4ca6dc0799b6
children 7848fc12602b
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiTagMap.cpp	Mon May 05 17:27:03 2014 +0200
+++ b/src/share/vm/prims/jvmtiTagMap.cpp	Wed Feb 05 21:24:29 2014 -0800
@@ -2790,6 +2790,7 @@
   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 @@
     return false;
   }
 }
+#endif // #ifdef ASSERT
 
 // a class references its super class, interfaces, class loader, ...
 // and finally its static fields