hotspot/src/cpu/x86/vm/interp_masm_x86.cpp
changeset 25714 87fa6860b5ae
parent 24088 adf36ca51f17
child 29578 0d3bd11f9e02
equal deleted inserted replaced
25713:e2ed3bec8c2c 25714:87fa6860b5ae
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   132         // if there's a return to profile.
   132         // if there's a return to profile.
   133         assert(ReturnTypeEntry::static_cell_count() < TypeStackSlotEntries::per_arg_count(), "can't move past ret type");
   133         assert(ReturnTypeEntry::static_cell_count() < TypeStackSlotEntries::per_arg_count(), "can't move past ret type");
   134         shll(tmp, exact_log2(DataLayout::cell_size));
   134         shll(tmp, exact_log2(DataLayout::cell_size));
   135         addptr(mdp, tmp);
   135         addptr(mdp, tmp);
   136       }
   136       }
   137       movptr(Address(rbp, frame::interpreter_frame_mdx_offset * wordSize), mdp);
   137       movptr(Address(rbp, frame::interpreter_frame_mdp_offset * wordSize), mdp);
   138     } else {
   138     } else {
   139       assert(MethodData::profile_return(), "either profile call args or call ret");
   139       assert(MethodData::profile_return(), "either profile call args or call ret");
   140       update_mdp_by_constant(mdp, in_bytes(TypeEntriesAtCall::return_only_size()));
   140       update_mdp_by_constant(mdp, in_bytes(TypeEntriesAtCall::return_only_size()));
   141     }
   141     }
   142 
   142