src/hotspot/cpu/x86/templateTable_x86.cpp
changeset 51967 933b0abb2211
parent 51816 1fd0f300d4b7
child 51996 84743156e780
--- a/src/hotspot/cpu/x86/templateTable_x86.cpp	Mon Oct 01 12:07:15 2018 +0200
+++ b/src/hotspot/cpu/x86/templateTable_x86.cpp	Mon Oct 01 16:34:22 2018 +0200
@@ -448,7 +448,7 @@
     Label notNull;
     ExternalAddress null_sentinel((address)Universe::the_null_sentinel_addr());
     __ movptr(tmp, null_sentinel);
-    __ cmpptr(tmp, result);
+    __ cmpoop(tmp, result);
     __ jccb(Assembler::notEqual, notNull);
     __ xorptr(result, result);  // NULL object reference
     __ bind(notNull);