mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8012292: optimized build with GCC broken
Some #ifndef PRODUCT should be #ifdef ASSERT Reviewed-by: kvn, twisti
This commit is contained in:
parent
20b5d3aa4f
commit
34da1742ef
5 changed files with 11 additions and 11 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue