Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
10273:d15464bfd4d0 | 10274:e76dd894b984 |
---|---|
3044 } | 3044 } |
3045 return annotations; | 3045 return annotations; |
3046 } | 3046 } |
3047 | 3047 |
3048 | 3048 |
3049 #ifndef PRODUCT | 3049 #ifdef ASSERT |
3050 static void parseAndPrintGenericSignatures( | 3050 static void parseAndPrintGenericSignatures( |
3051 instanceKlassHandle this_klass, TRAPS) { | 3051 instanceKlassHandle this_klass, TRAPS) { |
3052 assert(ParseAllGenericSignatures == true, "Shouldn't call otherwise"); | 3052 assert(ParseAllGenericSignatures == true, "Shouldn't call otherwise"); |
3053 ResourceMark rm; | 3053 ResourceMark rm; |
3054 | 3054 |
3069 tty->print_cr("Parsing %s", sig->as_C_string()); | 3069 tty->print_cr("Parsing %s", sig->as_C_string()); |
3070 method_spec->print_on(tty); | 3070 method_spec->print_on(tty); |
3071 } | 3071 } |
3072 } | 3072 } |
3073 } | 3073 } |
3074 #endif // ndef PRODUCT | 3074 #endif // def ASSERT |
3075 | 3075 |
3076 | 3076 |
3077 instanceKlassHandle ClassFileParser::parse_super_class(int super_class_index, | 3077 instanceKlassHandle ClassFileParser::parse_super_class(int super_class_index, |
3078 TRAPS) { | 3078 TRAPS) { |
3079 instanceKlassHandle super_klass; | 3079 instanceKlassHandle super_klass; |