Mercurial > hg > truffle
comparison src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp @ 7987:12285410684f
8006508: Wrong frame constructor is called in os_linux_x86.cpp
Reviewed-by: dholmes, coleenp
Contributed-by: Jeremy Manson <jeremymanson@google.com>
author | dholmes |
---|---|
date | Mon, 04 Feb 2013 23:53:10 -0500 |
parents | d2f8c38e543d |
children | 71f13276159d |
comparison
equal
deleted
inserted
replaced
7982:10d5f25a7c67 | 7987:12285410684f |
---|---|
370 frame myframe((intptr_t*)os::current_stack_pointer(), | 370 frame myframe((intptr_t*)os::current_stack_pointer(), |
371 (intptr_t*)fp, | 371 (intptr_t*)fp, |
372 CAST_FROM_FN_PTR(address, os::current_frame)); | 372 CAST_FROM_FN_PTR(address, os::current_frame)); |
373 if (os::is_first_C_frame(&myframe)) { | 373 if (os::is_first_C_frame(&myframe)) { |
374 // stack is not walkable | 374 // stack is not walkable |
375 return frame(NULL, NULL, NULL); | 375 return frame(); |
376 } else { | 376 } else { |
377 return os::get_sender_for_C_frame(&myframe); | 377 return os::get_sender_for_C_frame(&myframe); |
378 } | 378 } |
379 } | 379 } |
380 | 380 |