search for: finally_size

Displaying 4 results from an estimated 4 matches for "finally_size".

Did you mean: final_size
2007 Oct 26
0
3 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_interpret.c
...as_stack_pop (cx); +} - val = swfdec_as_stack_pop (cx); - if (SWFDEC_AS_VALUE_IS_OBJECT (val)) { - object = SWFDEC_AS_VALUE_GET_OBJECT (val); - } else { - object = NULL; +typedef struct { + const guint8 * start; + gboolean catch; + gboolean finally; + guint catch_size; + guint finally_size; + + gboolean use_register; + union { + guint register_number; + char * variable_name; + }; +} TryData; + +static void +swfdec_action_try_free_data (TryData *try_data) +{ + g_return_if_fail (try_data != NULL); + + if (!try_data->use_register) + g_free (try_data->variable_name...
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
...; - *exception = val; + exception_value = g_malloc (sizeof (SwfdecAsValue)); + *exception_value = val; // FIXME: the exception value is not marked while finally block runs swfdec_as_frame_push_block (frame, try_data->finally_start, try_data->finally_start + try_data->finally_size, - swfdec_action_try_end_finally, exception, g_free); + swfdec_action_try_end_finally, exception_value, g_free); } swfdec_action_try_data_unref (try_data); commit 5c3f06cbeb5ee318b13b99565253b2f5ae7637ae Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Sat Oct 27 02:08:13 2007...
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
...n while in catch block: @@ -2625,10 +2608,10 @@ swfdec_action_try_end_catch (SwfdecAsFrame *frame, gpointer data) // FIXME: the exception value is not marked while finally block runs swfdec_as_frame_push_block (frame, try_data->finally_start, try_data->finally_start + try_data->finally_size, - swfdec_action_try_end_finally, exception_value, g_free); + swfdec_action_try_end_finally, exception_value); } - swfdec_action_try_data_unref (try_data); + swfdec_action_try_data_free (try_data); } static void @@ -2650,9 +2633,6 @@ swfdec_action_try_end_try (SwfdecAsFrame *frame, gpoin...
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
...that block exception_value = g_malloc (sizeof (SwfdecAsValue)); *exception_value = val; @@ -2611,6 +2611,7 @@ swfdec_action_try_end_catch (SwfdecAsFrame *frame, gpointer data) swfdec_as_frame_push_block (frame, try_data->finally_start, try_data->finally_start + try_data->finally_size, swfdec_action_try_end_finally, exception_value); + frame->pc = try_data->finally_start; } swfdec_action_try_data_free (try_data); @@ -2639,8 +2640,8 @@ swfdec_action_try_end_try (SwfdecAsFrame *frame, gpointer data) { // we got an exception while in try block: // se...