svn path=/trunk/mono/; revision=33636
interp_walk_stack (MonoStackWalk func, gpointer user_data)
{
ThreadContext *context = TlsGetValue (thread_context_id);
- if (!context) return;
-
- MonoInvocation *frame = context->current_frame;
+ MonoInvocation *frame;
int il_offset;
MonoMethodHeader *hd;
+ if (!context) return;
+
+ frame = context->current_frame;
+
while (frame) {
gboolean managed = FALSE;
MonoMethod *method = frame->runtime_method->method;