search for: catch_start

Displaying 3 results from an estimated 3 matches for "catch_start".

2007 Oct 26
0
8 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_interpret.c test/trace
...} - swfdec_as_frame_set_variable (frame, rest, &cx->throw_value); + swfdec_as_frame_set_variable (frame, rest, &val); } } else @@ -2704,9 +2699,6 @@ swfdec_action_try_end_try (SwfdecAsFrame *frame, gpointer data) swfdec_as_frame_push_block (frame, try_data->catch_start, try_data->catch_start + try_data->catch_size, swfdec_action_try_end_catch, try_data, swfdec_action_try_data_unref); - - cx->throwing = FALSE; - SWFDEC_AS_VALUE_SET_UNDEFINED (&cx->throw_value); } swfdec_action_try_data_unref (try_data); commit 3c105cb641d7c45ff98f...
2007 Oct 28
0
4 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_load_object.c
...b/libswfdec/swfdec_as_interpret.c index 3defeca..7125e05 100644 --- a/libswfdec/swfdec_as_interpret.c +++ b/libswfdec/swfdec_as_interpret.c @@ -2542,7 +2542,6 @@ swfdec_action_throw (SwfdecAsContext *cx, guint action, const guint8 *data, } typedef struct { - int ref_count; const guint8 * catch_start; const guint8 * finally_start; guint catch_size; @@ -2556,25 +2555,12 @@ typedef struct { } TryData; static void -swfdec_action_try_data_ref (gpointer data) +swfdec_action_try_data_free (gpointer data) { TryData *try_data = data; g_return_if_fail (try_data != NULL); - try_da...
2007 Oct 29
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h
...add new block for catch and jump to it + if (try_data->use_register) { if (swfdec_action_has_register (cx, try_data->register_number)) { @@ -2680,8 +2681,9 @@ swfdec_action_try_end_try (SwfdecAsFrame *frame, gpointer data) swfdec_as_frame_push_block (frame, try_data->catch_start, try_data->catch_start + try_data->catch_size, swfdec_action_try_end_catch, try_data); - } - else + frame->pc = try_data->catch_start; + } + else { swfdec_action_try_data_free (try_data); } commit 30e92ccded4ad52b46d11192cee525b36f6bd37c Author: Pekka Lampila &lt...