hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp
changeset 29580 a67a581cfe11
parent 29316 5287df8a8972
child 29584 5b3cb9f0e39d
equal deleted inserted replaced
29477:82f545c6572b 29580:a67a581cfe11
  2900     //   append_frame;
  2900     //   append_frame;
  2901     //   full_frame;
  2901     //   full_frame;
  2902     // }
  2902     // }
  2903 
  2903 
  2904     assert(stackmap_p + 1 <= stackmap_end, "no room for frame_type");
  2904     assert(stackmap_p + 1 <= stackmap_end, "no room for frame_type");
  2905     // The Linux compiler does not like frame_type to be u1 or u2. It
  2905     u1 frame_type = *stackmap_p;
  2906     // issues the following warning for the first if-statement below:
       
  2907     //
       
  2908     // "warning: comparison is always true due to limited range of data type"
       
  2909     //
       
  2910     u4 frame_type = *stackmap_p;
       
  2911     stackmap_p++;
  2906     stackmap_p++;
  2912 
  2907 
  2913     // same_frame {
  2908     // same_frame {
  2914     //   u1 frame_type = SAME; /* 0-63 */
  2909     //   u1 frame_type = SAME; /* 0-63 */
  2915     // }
  2910     // }
  2916     if (frame_type >= 0 && frame_type <= 63) {
  2911     if (frame_type <= 63) {
  2917       // nothing more to do for same_frame
  2912       // nothing more to do for same_frame
  2918     }
  2913     }
  2919 
  2914 
  2920     // same_locals_1_stack_item_frame {
  2915     // same_locals_1_stack_item_frame {
  2921     //   u1 frame_type = SAME_LOCALS_1_STACK_ITEM; /* 64-127 */
  2916     //   u1 frame_type = SAME_LOCALS_1_STACK_ITEM; /* 64-127 */