Skip to content
Permalink
Browse files
8266018: Shenandoah: fix an incorrect assert
Reviewed-by: rkennke
  • Loading branch information
wattsun110 authored and rkennke committed May 6, 2021
1 parent 22ca62c commit 2dd56676fb564072f73f5fd9e591bda7922523ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp
@@ -692,7 +692,7 @@ Node* next_mem(Node* mem, int alias) {
} else if (mem->is_MergeMem()) {
res = mem->as_MergeMem()->memory_at(alias);
} else if (mem->is_Store() || mem->is_LoadStore() || mem->is_ClearArray()) {
assert(alias = Compile::AliasIdxRaw, "following raw memory can't lead to a barrier");
assert(alias == Compile::AliasIdxRaw, "following raw memory can't lead to a barrier");
res = mem->in(MemNode::Memory);
} else {
#ifdef ASSERT

0 comments on commit 2dd5667

Please sign in to comment.