equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2012, 2014 SAP AG. All rights reserved. |
3 * Copyright 2012, 2014 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 |
132 inline intptr_t** frame::interpreter_frame_locals_addr() const { |
132 inline intptr_t** frame::interpreter_frame_locals_addr() const { |
133 interpreterState istate = get_interpreterState(); |
133 interpreterState istate = get_interpreterState(); |
134 return (intptr_t**)&istate->_locals; |
134 return (intptr_t**)&istate->_locals; |
135 } |
135 } |
136 |
136 |
137 inline intptr_t* frame::interpreter_frame_bcx_addr() const { |
137 inline intptr_t* frame::interpreter_frame_bcp_addr() const { |
138 interpreterState istate = get_interpreterState(); |
138 interpreterState istate = get_interpreterState(); |
139 return (intptr_t*)&istate->_bcp; |
139 return (intptr_t*)&istate->_bcp; |
140 } |
140 } |
141 |
141 |
142 inline intptr_t* frame::interpreter_frame_mdx_addr() const { |
142 inline intptr_t* frame::interpreter_frame_mdp_addr() const { |
143 interpreterState istate = get_interpreterState(); |
143 interpreterState istate = get_interpreterState(); |
144 return (intptr_t*)&istate->_mdx; |
144 return (intptr_t*)&istate->_mdx; |
145 } |
145 } |
146 |
146 |
147 inline intptr_t* frame::interpreter_frame_expression_stack() const { |
147 inline intptr_t* frame::interpreter_frame_expression_stack() const { |
207 } |
207 } |
208 |
208 |
209 inline intptr_t** frame::interpreter_frame_locals_addr() const { |
209 inline intptr_t** frame::interpreter_frame_locals_addr() const { |
210 return (intptr_t**) &(get_ijava_state()->locals); |
210 return (intptr_t**) &(get_ijava_state()->locals); |
211 } |
211 } |
212 inline intptr_t* frame::interpreter_frame_bcx_addr() const { |
212 inline intptr_t* frame::interpreter_frame_bcp_addr() const { |
213 return (intptr_t*) &(get_ijava_state()->bcp); |
213 return (intptr_t*) &(get_ijava_state()->bcp); |
214 } |
214 } |
215 inline intptr_t* frame::interpreter_frame_mdx_addr() const { |
215 inline intptr_t* frame::interpreter_frame_mdp_addr() const { |
216 return (intptr_t*) &(get_ijava_state()->mdx); |
216 return (intptr_t*) &(get_ijava_state()->mdx); |
217 } |
217 } |
218 // Pointer beyond the "oldest/deepest" BasicObjectLock on stack. |
218 // Pointer beyond the "oldest/deepest" BasicObjectLock on stack. |
219 inline BasicObjectLock* frame::interpreter_frame_monitor_end() const { |
219 inline BasicObjectLock* frame::interpreter_frame_monitor_end() const { |
220 return (BasicObjectLock *) get_ijava_state()->monitors; |
220 return (BasicObjectLock *) get_ijava_state()->monitors; |