Mercurial > hg > graal-jvmci-8
comparison src/os_cpu/linux_x86/vm/os_linux_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 | 5fc51c1ecdeb 9058789475af |
comparison
equal
deleted
inserted
replaced
7982:10d5f25a7c67 | 7987:12285410684f |
---|---|
187 frame myframe((intptr_t*)os::current_stack_pointer(), | 187 frame myframe((intptr_t*)os::current_stack_pointer(), |
188 (intptr_t*)fp, | 188 (intptr_t*)fp, |
189 CAST_FROM_FN_PTR(address, os::current_frame)); | 189 CAST_FROM_FN_PTR(address, os::current_frame)); |
190 if (os::is_first_C_frame(&myframe)) { | 190 if (os::is_first_C_frame(&myframe)) { |
191 // stack is not walkable | 191 // stack is not walkable |
192 return frame(NULL, NULL, NULL); | 192 return frame(); |
193 } else { | 193 } else { |
194 return os::get_sender_for_C_frame(&myframe); | 194 return os::get_sender_for_C_frame(&myframe); |
195 } | 195 } |
196 } | 196 } |
197 | 197 |