src/hotspot/share/interpreter/interpreterRuntime.cpp
changeset 58177 4932dce35882
parent 58015 dd84de796f2c
child 58545 725244418646
--- a/src/hotspot/share/interpreter/interpreterRuntime.cpp	Tue Sep 17 09:51:02 2019 +0200
+++ b/src/hotspot/share/interpreter/interpreterRuntime.cpp	Tue Sep 17 09:51:02 2019 +0200
@@ -206,7 +206,7 @@
     if (rindex >= 0) {
       oop coop = m->constants()->resolved_references()->obj_at(rindex);
       oop roop = (result == NULL ? Universe::the_null_sentinel() : result);
-      assert(oopDesc::equals(roop, coop), "expected result for assembly code");
+      assert(roop == coop, "expected result for assembly code");
     }
   }
 #endif