8012292: optimized build with GCC broken

Some #ifndef PRODUCT should be #ifdef ASSERT

Reviewed-by: kvn, twisti
This commit is contained in:
Gilles Duboscq 2013-04-24 14:26:09 +02:00 committed by Roland Westrelin
parent 20b5d3aa4f
commit 34da1742ef
5 changed files with 11 additions and 11 deletions

View file

@ -3046,7 +3046,7 @@ AnnotationArray* ClassFileParser::assemble_annotations(u1* runtime_visible_annot
}
#ifndef PRODUCT
#ifdef ASSERT
static void parseAndPrintGenericSignatures(
instanceKlassHandle this_klass, TRAPS) {
assert(ParseAllGenericSignatures == true, "Shouldn't call otherwise");
@ -3071,7 +3071,7 @@ static void parseAndPrintGenericSignatures(
}
}
}
#endif // ndef PRODUCT
#endif // def ASSERT
instanceKlassHandle ClassFileParser::parse_super_class(int super_class_index,