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

@ -49,7 +49,7 @@ extern "C" {
}
}
#ifndef PRODUCT
#ifdef ASSERT
#define VM_SYMBOL_ENUM_NAME_BODY(name, string) #name "\0"
static const char* vm_symbol_enum_names =
VM_SYMBOLS_DO(VM_SYMBOL_ENUM_NAME_BODY, VM_ALIAS_IGNORE)
@ -64,7 +64,7 @@ static const char* vm_symbol_enum_name(vmSymbols::SID sid) {
}
return string;
}
#endif //PRODUCT
#endif //ASSERT
// Put all the VM symbol strings in one place.
// Makes for a more compact libjvm.