8317257: RISC-V: llvm build broken
Reviewed-by: fyang
This commit is contained in:
parent
0259da9283
commit
bd7bb67d8f
@ -1515,7 +1515,7 @@ void LIR_Assembler::emit_lock(LIR_OpLock* op) {
|
||||
if (LockingMode == LM_MONITOR) {
|
||||
if (op->info() != nullptr) {
|
||||
add_debug_info_for_null_check_here(op->info());
|
||||
__ null_check(obj);
|
||||
__ null_check(obj, -1);
|
||||
}
|
||||
__ j(*op->stub()->entry());
|
||||
} else if (op->code() == lir_lock) {
|
||||
|
@ -2840,7 +2840,7 @@ void os::pd_commit_memory_or_exit(char* addr, size_t size, bool exec,
|
||||
#define MAP_FIXED_NOREPLACE MAP_FIXED_NOREPLACE_value
|
||||
#else
|
||||
// Sanity-check our assumed default value if we build with a new enough libc.
|
||||
static_assert(MAP_FIXED_NOREPLACE == MAP_FIXED_NOREPLACE_value);
|
||||
static_assert(MAP_FIXED_NOREPLACE == MAP_FIXED_NOREPLACE_value, "MAP_FIXED_NOREPLACE != MAP_FIXED_NOREPLACE_value");
|
||||
#endif
|
||||
|
||||
int os::Linux::commit_memory_impl(char* addr, size_t size,
|
||||
|
Loading…
Reference in New Issue
Block a user