hotspot/src/cpu/ppc/vm/templateInterpreterGenerator_ppc.cpp
changeset 44093 e22e0d071bf9
parent 44088 fb5421685295
child 46338 e84b501fa52e
child 44406 a46a6c4d1dd9
equal deleted inserted replaced
44092:bc842cc2356b 44093:e22e0d071bf9
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2015, 2017 SAP SE. All rights reserved.
     3  * Copyright (c) 2015, 2016 SAP SE. 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.
   399      __ extsw(R3_RET, R3_RET);
   399      __ extsw(R3_RET, R3_RET);
   400      break;
   400      break;
   401   case T_LONG:
   401   case T_LONG:
   402      break;
   402      break;
   403   case T_OBJECT:
   403   case T_OBJECT:
   404     // JNIHandles::resolve result.
   404     // unbox result if not null
   405     __ resolve_jobject(R3_RET, R11_scratch1, R12_scratch2, /* needs_frame */ true); // kills R31
   405     __ cmpdi(CCR0, R3_RET, 0);
       
   406     __ beq(CCR0, done);
       
   407     __ ld(R3_RET, 0, R3_RET);
       
   408     __ verify_oop(R3_RET);
   406     break;
   409     break;
   407   case T_FLOAT:
   410   case T_FLOAT:
   408      break;
   411      break;
   409   case T_DOUBLE:
   412   case T_DOUBLE:
   410      break;
   413      break;