hotspot/src/cpu/sparc/vm/nativeInst_sparc.cpp
changeset 33807 9f8b0f8a3f29
parent 28947 2ea471384931
child 33813 4f376e851453
equal deleted inserted replaced
33806:4160a3c28ce8 33807:9f8b0f8a3f29
    58   // Generate the proper sequence into a temporary buffer and compare
    58   // Generate the proper sequence into a temporary buffer and compare
    59   // it with the original sequence.
    59   // it with the original sequence.
    60   masm.patchable_sethi(x, destreg);
    60   masm.patchable_sethi(x, destreg);
    61   int len = buffer - masm.pc();
    61   int len = buffer - masm.pc();
    62   for (int i = 0; i < len; i++) {
    62   for (int i = 0; i < len; i++) {
    63     assert(instaddr[i] == buffer[i], "instructions must match");
    63     guarantee(instaddr[i] == buffer[i], "instructions must match");
    64   }
    64   }
    65 }
    65 }
    66 
    66 
    67 void NativeInstruction::verify() {
    67 void NativeInstruction::verify() {
    68   // make sure code pattern is actually an instruction address
    68   // make sure code pattern is actually an instruction address