src/share/vm/opto/output.cpp

changeset 9138
b56ab8e56604
parent 8863
5376ce0dc552
child 9448
73d689add964
     1.1 --- a/src/share/vm/opto/output.cpp	Tue Jul 24 13:22:11 2018 +0800
     1.2 +++ b/src/share/vm/opto/output.cpp	Tue Jul 24 14:29:09 2018 +0800
     1.3 @@ -849,7 +849,7 @@
     1.4    // Add the safepoint in the DebugInfoRecorder
     1.5    if( !mach->is_MachCall() ) {
     1.6      mcall = NULL;
     1.7 -#ifdef MIPS64
     1.8 +#ifdef MIPS
     1.9  /*
    1.10          2013/10/30 Jin: safepoint_pc_offset should point to tha last instruction in safePoint.
    1.11                  In X86 and sparc, their safePoints only contain one instruction.
    1.12 @@ -1530,7 +1530,7 @@
    1.13        DEBUG_ONLY( uint instr_offset = cb->insts_size(); )
    1.14        n->emit(*cb, _regalloc);
    1.15        current_offset  = cb->insts_size();
    1.16 -#ifdef MIPS64
    1.17 +#ifdef MIPS
    1.18        if (!n->is_Proj()) {
    1.19          // For MIPS, the first instruction of the previous node (usually a instruction sequence) sometime
    1.20          // is not the instruction which access memory. adjust is needed. previous_offset points to the

mercurial