diff src/cpu/sparc/vm/frame_sparc.cpp @ 6652:c283096252e3

8046611: Build errors with gcc on sparc/fastdebug Reviewed-by: dholmes, ctornqvi
author mikael
date Fri, 20 Jun 2014 11:19:22 -0700
parents cb5694166a39
children ecdcd96f051a 22b98ab2a69f
line wrap: on
line diff
--- a/src/cpu/sparc/vm/frame_sparc.cpp	Fri Jun 20 10:12:02 2014 -0700
+++ b/src/cpu/sparc/vm/frame_sparc.cpp	Fri Jun 20 11:19:22 2014 -0700
@@ -436,32 +436,6 @@
 }
 #endif // CC_INTERP
 
-
-#ifdef ASSERT
-// Debugging aid
-static frame nth_sender(int n) {
-  frame f = JavaThread::current()->last_frame();
-
-  for(int i = 0; i < n; ++i)
-    f = f.sender((RegisterMap*)NULL);
-
-  printf("first frame %d\n",          f.is_first_frame()       ? 1 : 0);
-  printf("interpreted frame %d\n",    f.is_interpreted_frame() ? 1 : 0);
-  printf("java frame %d\n",           f.is_java_frame()        ? 1 : 0);
-  printf("entry frame %d\n",          f.is_entry_frame()       ? 1 : 0);
-  printf("native frame %d\n",         f.is_native_frame()      ? 1 : 0);
-  if (f.is_compiled_frame()) {
-    if (f.is_deoptimized_frame())
-      printf("deoptimized frame 1\n");
-    else
-      printf("compiled frame 1\n");
-  }
-
-  return f;
-}
-#endif
-
-
 frame frame::sender_for_entry_frame(RegisterMap *map) const {
   assert(map != NULL, "map must be set");
   // Java frame called from C; skip all C frames and return top C