hotspot/src/cpu/s390/vm/templateInterpreterGenerator_s390.cpp
changeset 46294 345a46524a19
parent 46289 1904e7ec236e
child 46315 a796c32af782
equal deleted inserted replaced
46293:9a88f7fe04b5 46294:345a46524a19
     1 /*
     1 /*
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2016 SAP SE. All rights reserved.
     3  * Copyright (c) 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
   674 
   674 
   675   // #args is in rightmost byte of the _flags field.
   675   // #args is in rightmost byte of the _flags field.
   676   __ z_llgc(size, Address(cache, offset, flags_offset+(sizeof(size_t)-1)));
   676   __ z_llgc(size, Address(cache, offset, flags_offset+(sizeof(size_t)-1)));
   677   __ z_sllg(size, size, Interpreter::logStackElementSize); // Each argument size in bytes.
   677   __ z_sllg(size, size, Interpreter::logStackElementSize); // Each argument size in bytes.
   678   __ z_agr(Z_esp, size);                                   // Pop arguments.
   678   __ z_agr(Z_esp, size);                                   // Pop arguments.
       
   679 
       
   680   __ check_and_handle_popframe(Z_thread);
       
   681   __ check_and_handle_earlyret(Z_thread);
       
   682 
   679   __ dispatch_next(state, step);
   683   __ dispatch_next(state, step);
   680 
   684 
   681   BLOCK_COMMENT("} return_entry");
   685   BLOCK_COMMENT("} return_entry");
   682 
   686 
   683   return entry;
   687   return entry;