diff src/share/vm/graal/graalCodeInstaller.cpp @ 4691:fc42b5b6941a

Some DCE in codeInstaller/exceptions.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Fri, 24 Feb 2012 20:39:12 +0100
parents a03f3fd16b22
children 07bcee8b70a4
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp	Fri Feb 24 20:05:32 2012 +0100
+++ b/src/share/vm/graal/graalCodeInstaller.cpp	Fri Feb 24 20:39:12 2012 +0100
@@ -429,9 +429,7 @@
         oop exc = exception_handlers[j];
         jint handler_offset = CiTargetMethod_ExceptionHandler::handlerPos(exc);
         jint handler_bci = CiTargetMethod_ExceptionHandler::handlerBci(exc);
-        jint bci = CiTargetMethod_ExceptionHandler::bci(exc);
         jint scope_level = CiTargetMethod_ExceptionHandler::scopeLevel(exc);
-        Handle handler_type = CiTargetMethod_ExceptionHandler::exceptionType(exc);
 
         assert(handler_offset != -1, "must have been generated");
 
@@ -455,6 +453,7 @@
         }
         pcos->append(handler_offset);
 
+        // TODO: Check if we need that assert!
         // stop processing once we hit a catch any
         //        if (handler->is_catch_all()) {
         //          assert(i == handlers->length() - 1, "catch all must be last handler");