Mercurial > hg > truffle
comparison src/cpu/x86/vm/frame_x86.inline.hpp @ 11146:e619a2766bcc
8016131: nsk/sysdict/vm/stress/chain tests crash the VM in 'entry_frame_is_first()'
Reviewed-by: jrose, kvn, mgronlun
author | rbackman |
---|---|
date | Wed, 12 Jun 2013 11:17:39 +0200 |
parents | 0a2deac0bbfb |
children | 6b0fd0964b87 de6a9e811145 |
comparison
equal
deleted
inserted
replaced
11145:39deebbc90b3 | 11146:e619a2766bcc |
---|---|
270 inline jint frame::interpreter_frame_expression_stack_direction() { return -1; } | 270 inline jint frame::interpreter_frame_expression_stack_direction() { return -1; } |
271 | 271 |
272 | 272 |
273 // Entry frames | 273 // Entry frames |
274 | 274 |
275 inline JavaCallWrapper* frame::entry_frame_call_wrapper() const { | 275 inline JavaCallWrapper** frame::entry_frame_call_wrapper_addr() const { |
276 return (JavaCallWrapper*)at(entry_frame_call_wrapper_offset); | 276 return (JavaCallWrapper**)addr_at(entry_frame_call_wrapper_offset); |
277 } | 277 } |
278 | |
279 | 278 |
280 // Compiled frames | 279 // Compiled frames |
281 | 280 |
282 inline int frame::local_offset_for_compiler(int local_index, int nof_args, int max_nof_locals, int max_nof_monitors) { | 281 inline int frame::local_offset_for_compiler(int local_index, int nof_args, int max_nof_locals, int max_nof_monitors) { |
283 return (nof_args - local_index + (local_index < nof_args ? 1: -1)); | 282 return (nof_args - local_index + (local_index < nof_args ? 1: -1)); |