hotspot/src/cpu/zero/vm/frame_zero.inline.hpp
changeset 25714 87fa6860b5ae
parent 22234 da823d78ad65
child 26142 038e0f01b4a9
equal deleted inserted replaced
25713:e2ed3bec8c2c 25714:87fa6860b5ae
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
     3  * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
     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
    99 
    99 
   100 inline intptr_t** frame::interpreter_frame_locals_addr() const {
   100 inline intptr_t** frame::interpreter_frame_locals_addr() const {
   101   return &(get_interpreterState()->_locals);
   101   return &(get_interpreterState()->_locals);
   102 }
   102 }
   103 
   103 
   104 inline intptr_t* frame::interpreter_frame_bcx_addr() const {
   104 inline intptr_t* frame::interpreter_frame_bcp_addr() const {
   105   return (intptr_t*) &(get_interpreterState()->_bcp);
   105   return (intptr_t*) &(get_interpreterState()->_bcp);
   106 }
   106 }
   107 
   107 
   108 inline ConstantPoolCache** frame::interpreter_frame_cache_addr() const {
   108 inline ConstantPoolCache** frame::interpreter_frame_cache_addr() const {
   109   return &(get_interpreterState()->_constants);
   109   return &(get_interpreterState()->_constants);
   111 
   111 
   112 inline Method** frame::interpreter_frame_method_addr() const {
   112 inline Method** frame::interpreter_frame_method_addr() const {
   113   return &(get_interpreterState()->_method);
   113   return &(get_interpreterState()->_method);
   114 }
   114 }
   115 
   115 
   116 inline intptr_t* frame::interpreter_frame_mdx_addr() const {
   116 inline intptr_t* frame::interpreter_frame_mdp_addr() const {
   117   return (intptr_t*) &(get_interpreterState()->_mdx);
   117   return (intptr_t*) &(get_interpreterState()->_mdx);
   118 }
   118 }
   119 
   119 
   120 inline intptr_t* frame::interpreter_frame_tos_address() const {
   120 inline intptr_t* frame::interpreter_frame_tos_address() const {
   121   return get_interpreterState()->_stack + 1;
   121   return get_interpreterState()->_stack + 1;