Mercurial > hg > graal-compiler
diff src/share/vm/classfile/classFileParser.cpp @ 10274:e76dd894b984
8012292: optimized build with GCC broken
Summary: Some #ifndef PRODUCT should be #ifdef ASSERT
Reviewed-by: kvn, twisti
Contributed-by: gdub <duboscq@ssw.jku.at>
author | roland |
---|---|
date | Wed, 24 Apr 2013 14:26:09 +0200 |
parents | 41ed397cc0cd |
children | d73c88e524ff |
line wrap: on
line diff
--- a/src/share/vm/classfile/classFileParser.cpp Fri May 03 09:32:50 2013 +0200 +++ b/src/share/vm/classfile/classFileParser.cpp Wed Apr 24 14:26:09 2013 +0200 @@ -3046,7 +3046,7 @@ } -#ifndef PRODUCT +#ifdef ASSERT static void parseAndPrintGenericSignatures( instanceKlassHandle this_klass, TRAPS) { assert(ParseAllGenericSignatures == true, "Shouldn't call otherwise"); @@ -3071,7 +3071,7 @@ } } } -#endif // ndef PRODUCT +#endif // def ASSERT instanceKlassHandle ClassFileParser::parse_super_class(int super_class_index,