src/cpu/mips/vm/interp_masm_mips_64.cpp

changeset 4
87ed97bc0867
parent 1
2d8a650513c2
child 14
92759d406e78
equal deleted inserted replaced
3:ef5b28e8d433 4:87ed97bc0867
1375 test_method_data_pointer(mdp, verify_continue); // If mdp is zero, continue 1375 test_method_data_pointer(mdp, verify_continue); // If mdp is zero, continue
1376 get_method(method); 1376 get_method(method);
1377 1377
1378 // If the mdp is valid, it will point to a DataLayout header which is 1378 // If the mdp is valid, it will point to a DataLayout header which is
1379 // consistent with the bcp. The converse is highly probable also. 1379 // consistent with the bcp. The converse is highly probable also.
1380 lwu(tmp, mdp, in_bytes(DataLayout::bci_offset())); 1380 lhu(tmp, mdp, in_bytes(DataLayout::bci_offset()));
1381 ld(AT, method, in_bytes(Method::const_offset())); 1381 ld(AT, method, in_bytes(Method::const_offset()));
1382 daddu(tmp, tmp, AT); 1382 daddu(tmp, tmp, AT);
1383 daddiu(tmp, tmp, in_bytes(ConstMethod::codes_offset())); 1383 daddiu(tmp, tmp, in_bytes(ConstMethod::codes_offset()));
1384 beq(tmp, BCP, verify_continue); 1384 beq(tmp, BCP, verify_continue);
1385 nop(); 1385 nop();

mercurial