LRB midpath code quality
Roland Westrelin
rwestrel at redhat.com
Wed Mar 6 12:37:05 UTC 2019
See patch below. Something got dropped accidentally it seems.
Roland.
diff -r 6075f6799044 src/hotspot/share/opto/lcm.cpp
--- a/src/hotspot/share/opto/lcm.cpp Fri Feb 22 12:21:36 2019 +0100
+++ b/src/hotspot/share/opto/lcm.cpp Wed Mar 06 13:34:24 2019 +0100
@@ -178,6 +178,8 @@
case Op_LoadRange:
case Op_LoadD_unaligned:
case Op_LoadL_unaligned:
+ assert(mach->in(2) == val, "should be address");
+ break;
case Op_StoreB:
case Op_StoreC:
case Op_StoreCM:
More information about the shenandoah-dev
mailing list