hotspot/src/cpu/x86/vm/templateTable_x86_64.cpp
changeset 10008 d84de97ad847
parent 9333 36b8f9661154
child 10265 4c869854aebd
--- a/hotspot/src/cpu/x86/vm/templateTable_x86_64.cpp	Wed Jun 22 14:45:37 2011 -0700
+++ b/hotspot/src/cpu/x86/vm/templateTable_x86_64.cpp	Thu Jun 23 17:14:06 2011 -0700
@@ -385,6 +385,8 @@
     __ jcc(Assembler::equal, L);
     __ cmpl(rdx, JVM_CONSTANT_String);
     __ jcc(Assembler::equal, L);
+    __ cmpl(rdx, JVM_CONSTANT_Object);
+    __ jcc(Assembler::equal, L);
     __ stop("unexpected tag type in ldc");
     __ bind(L);
   }