1.1 --- a/src/cpu/mips/vm/templateInterpreter_mips_64.cpp Wed Oct 25 17:43:22 2017 +0800 1.2 +++ b/src/cpu/mips/vm/templateInterpreter_mips_64.cpp Wed Nov 08 09:28:23 2017 +0800 1.3 @@ -803,23 +803,14 @@ 1.4 1.5 if (UseG1GC) { 1.6 Label slow_path; 1.7 - // rbx: method 1.8 1.9 // Check if local 0 != NULL 1.10 // If the receiver is null then it is OK to jump to the slow path. 1.11 - //__ movptr(rax, Address(rsp, wordSize)); 1.12 __ ld(V0, SP, 0); 1.13 1.14 - //__ testptr(rax, rax); 1.15 - //__ jcc(Assembler::zero, slow_path); 1.16 __ beq(V0, R0, slow_path); 1.17 __ nop(); 1.18 1.19 - // rax: local 0 1.20 - // rbx: method (but can be used as scratch now) 1.21 - // rdx: scratch 1.22 - // rdi: scratch 1.23 - 1.24 // Generate the G1 pre-barrier code to log the value of 1.25 // the referent field in an SATB buffer. 1.26 1.27 @@ -836,12 +827,8 @@ 1.28 true /* tosca_live */, 1.29 true /* expand_call */); 1.30 1.31 - // _areturn 1.32 - //__ pop(rdi); // get return address 1.33 __ move(SP, Rsender); // set sp to sender sp 1.34 1.35 - //__ jmp(rdi); 1.36 - //__ ret(0); 1.37 __ jr(RA); 1.38 __ nop(); 1.39