Mercurial > hg > truffle
comparison src/cpu/x86/vm/methodHandles_x86.cpp @ 3388:a80577f854f9
7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp
Reviewed-by: jrose
author | never |
---|---|
date | Tue, 17 May 2011 19:11:51 -0700 |
parents | fabcf26ee72f |
children | f7d55ea6ee56 |
comparison
equal
deleted
inserted
replaced
3385:33ae33516634 | 3388:a80577f854f9 |
---|---|
387 __ stop("load_stack_move of garbage value"); | 387 __ stop("load_stack_move of garbage value"); |
388 __ BIND(L_ok); | 388 __ BIND(L_ok); |
389 } | 389 } |
390 } | 390 } |
391 | 391 |
392 #ifndef PRODUCT | 392 #ifdef ASSERT |
393 void MethodHandles::RicochetFrame::verify_offsets() { | 393 void MethodHandles::RicochetFrame::verify_offsets() { |
394 // Check compatibility of this struct with the more generally used offsets of class frame: | 394 // Check compatibility of this struct with the more generally used offsets of class frame: |
395 int ebp_off = sender_link_offset_in_bytes(); // offset from struct base to local rbp value | 395 int ebp_off = sender_link_offset_in_bytes(); // offset from struct base to local rbp value |
396 assert(ebp_off + wordSize*frame::interpreter_frame_method_offset == saved_args_base_offset_in_bytes(), ""); | 396 assert(ebp_off + wordSize*frame::interpreter_frame_method_offset == saved_args_base_offset_in_bytes(), ""); |
397 assert(ebp_off + wordSize*frame::interpreter_frame_last_sp_offset == conversion_offset_in_bytes(), ""); | 397 assert(ebp_off + wordSize*frame::interpreter_frame_last_sp_offset == conversion_offset_in_bytes(), ""); |