1.1 --- a/src/share/vm/opto/output.cpp Thu May 24 19:24:53 2018 +0800 1.2 +++ b/src/share/vm/opto/output.cpp Thu May 24 19:26:50 2018 +0800 1.3 @@ -554,10 +554,6 @@ 1.4 DEBUG_ONLY( jmp_target[i] = bnum; ); 1.5 DEBUG_ONLY( jmp_rule[i] = mach->rule(); ); 1.6 } else { 1.7 -#ifdef MIPS64 1.8 - env()->record_method_not_compilable("Branch out of range for MIPS"); 1.9 - return; 1.10 -#endif 1.11 // The jump distance is not short, try again during next iteration. 1.12 has_short_branch_candidate = true; 1.13 } 1.14 @@ -1169,9 +1165,6 @@ 1.15 // Pre-compute the length of blocks and replace 1.16 // long branches with short if machine supports it. 1.17 shorten_branches(blk_starts, code_req, locs_req, stub_req); 1.18 -#ifdef MIPS64 1.19 - if (failing()) return NULL; // Branch out of range for MIPS 1.20 -#endif 1.21 1.22 // nmethod and CodeBuffer count stubs & constants as part of method's code. 1.23 // class HandlerImpl is platform-specific and defined in the *.ad files.