hotspot/src/cpu/x86/vm/interp_masm_x86_32.cpp
changeset 3814 91f531a11872
parent 3179 e9442e207d31
child 4478 c3a8af0fc6b0
--- a/hotspot/src/cpu/x86/vm/interp_masm_x86_32.cpp	Sun Aug 30 15:33:14 2009 -0700
+++ b/hotspot/src/cpu/x86/vm/interp_masm_x86_32.cpp	Tue Sep 01 23:34:08 2009 -0700
@@ -1262,6 +1262,9 @@
                                         Register receiver, Register mdp,
                                         Register reg2,
                                         int start_row, Label& done) {
+  if (TypeProfileWidth == 0)
+    return;
+
   int last_row = VirtualCallData::row_limit() - 1;
   assert(start_row <= last_row, "must be work left to do");
   // Test this row for both the receiver and for null.