diff src/share/vm/prims/jvmtiTagMap.cpp @ 14324:c86519f8d826

8033289: clang: clean up unused function warning Reviewed-by: coleenp, dholmes, mgerdin
author henryjen
date Wed, 05 Feb 2014 21:24:29 -0800
parents 190899198332
children dcca80b5e7e7
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiTagMap.cpp	Wed Feb 05 15:14:47 2014 -0800
+++ 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