# HG changeset patch # User Thomas Wuerthinger # Date 1330112352 -3600 # Node ID fc42b5b6941a16af8331a6ea8b1a77fcad8ab376 # Parent b22f3f406b978b19a54802d76ea9901eed3352bf Some DCE in codeInstaller/exceptions. diff -r b22f3f406b97 -r fc42b5b6941a src/share/vm/graal/graalCodeInstaller.cpp --- 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"); diff -r b22f3f406b97 -r fc42b5b6941a src/share/vm/graal/graalJavaAccess.hpp --- a/src/share/vm/graal/graalJavaAccess.hpp Fri Feb 24 20:05:32 2012 +0100 +++ b/src/share/vm/graal/graalJavaAccess.hpp Fri Feb 24 20:39:12 2012 +0100 @@ -144,9 +144,7 @@ start_class(CiTargetMethod_ExceptionHandler) \ int_field(CiTargetMethod_ExceptionHandler, handlerPos) \ int_field(CiTargetMethod_ExceptionHandler, handlerBci) \ - int_field(CiTargetMethod_ExceptionHandler, bci) \ int_field(CiTargetMethod_ExceptionHandler, scopeLevel) \ - oop_field(CiTargetMethod_ExceptionHandler, exceptionType, "Lcom/oracle/max/cri/ri/RiType;")\ end_class \ start_class(CiTargetMethod_Mark) \ oop_field(CiTargetMethod_Mark, id, "Ljava/lang/Object;") \