src/cpu/sparc/vm/interp_masm_sparc.cpp

changeset 1402
6918603297f7
parent 1162
6b2273dd6fa9
child 1641
87684f1a88b5
     1.1 --- a/src/cpu/sparc/vm/interp_masm_sparc.cpp	Sun Aug 30 15:33:14 2009 -0700
     1.2 +++ b/src/cpu/sparc/vm/interp_masm_sparc.cpp	Tue Sep 01 23:34:08 2009 -0700
     1.3 @@ -1696,6 +1696,9 @@
     1.4  void InterpreterMacroAssembler::record_klass_in_profile_helper(
     1.5                                          Register receiver, Register scratch,
     1.6                                          int start_row, Label& done) {
     1.7 +  if (TypeProfileWidth == 0)
     1.8 +    return;
     1.9 +
    1.10    int last_row = VirtualCallData::row_limit() - 1;
    1.11    assert(start_row <= last_row, "must be work left to do");
    1.12    // Test this row for both the receiver and for null.

mercurial