src/cpu/ppc/vm/interpreter_ppc.cpp

changeset 9669
32bc598624bd
parent 8384
7d1074c74d60
child 9703
2fdf635bcf28
equal deleted inserted replaced
9668:acb9351e3a29 9669:32bc598624bd
1 /* 1 /*
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
3 * Copyright 2012, 2015 SAP AG. All rights reserved. 3 * Copyright (c) 2012, 2017 SAP AG. All rights reserved.
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * 5 *
6 * This code is free software; you can redistribute it and/or modify it 6 * This code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 only, as 7 * under the terms of the GNU General Public License version 2 only, as
8 * published by the Free Software Foundation. 8 * published by the Free Software Foundation.
411 __ extsw(R3_RET, R3_RET); 411 __ extsw(R3_RET, R3_RET);
412 break; 412 break;
413 case T_LONG: 413 case T_LONG:
414 break; 414 break;
415 case T_OBJECT: 415 case T_OBJECT:
416 // unbox result if not null 416 // JNIHandles::resolve result.
417 __ cmpdi(CCR0, R3_RET, 0); 417 __ resolve_jobject(R3_RET, R11_scratch1, R12_scratch2, /* needs_frame */ true); // kills R31
418 __ beq(CCR0, done);
419 __ ld(R3_RET, 0, R3_RET);
420 __ verify_oop(R3_RET);
421 break; 418 break;
422 case T_FLOAT: 419 case T_FLOAT:
423 break; 420 break;
424 case T_DOUBLE: 421 case T_DOUBLE:
425 break; 422 break;

mercurial