fix the MSVC fix
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15833 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
527fff9044
commit
c984a1414d
|
@ -287,8 +287,7 @@ void caml_stash_backtrace(value exn, code_t pc, value * sp, int reraise)
|
|||
into the backtrace buffer. */
|
||||
for (/*nothing*/; sp < caml_trapsp; sp++) {
|
||||
code_t p = (code_t) *sp;
|
||||
if (caml_backtrace_pos < BACKTRACE_BUFFER_SIZE)
|
||||
break;
|
||||
if (caml_backtrace_pos >= BACKTRACE_BUFFER_SIZE) break;
|
||||
if (find_debug_info(p) != NULL)
|
||||
caml_backtrace_buffer[caml_backtrace_pos++] = p;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue