search for: startsp

Displaying 5 results from an estimated 5 matches for "startsp".

Did you mean: starts
2007 Mar 09
0
17 commits - libswfdec/js libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c
...e_function, swfdec_action_define_function } }, [0x8f] = { "Try", NULL }, /* version 5 */ [0x94] = { "With", NULL }, @@ -2560,7 +2581,10 @@ swfdec_script_interpret (SwfdecScript *s guint8 *startpc, *pc, *endpc, *nextpc; JSBool ok = JS_TRUE; void *mark; - jsval *startsp, *endsp, *checksp; + jsval *startsp; +#ifndef G_DISABLE_ASSERT + jsval *checksp; +#endif int stack_check; guint action, len; guint8 *data; @@ -2636,8 +2660,8 @@ swfdec_script_interpret (SwfdecScript *s goto out; } fp->spbase = startsp; + fp->spend = startsp + STACKSIZE;...
2007 Jan 18
0
Branch 'interpreter' - 2 commits - libswfdec/js libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c
...g_print ("%s\n", foo); } +#endif return TRUE; } @@ -362,6 +448,7 @@ swfdec_script_interpret (SwfdecScript *s /* set up the script */ startpc = pc = script->buffer->data; endpc = startpc + script->buffer->length; + fp->pc = pc; /* set up stack */ startsp = js_AllocStack (cx, STACKSIZE, &mark); if (!startsp) { @@ -426,7 +513,11 @@ swfdec_script_interpret (SwfdecScript *s ok = spec->exec[version] (cx, action, data, len); if (!ok) goto out; - pc = nextpc; + if (fp->pc == pc) { + fp->pc = pc = nextpc; + }...
2007 Apr 04
0
Branch 'as' - 4 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h
...} @@ -2754,340 +319,6 @@ swfdec_script_unref (SwfdecScript *scrip g_free (script); } -#if 0 -JSBool -swfdec_script_interpret (SwfdecScript *script, JSContext *cx, jsval *rval) -{ - JSStackFrame *fp; - guint8 *startpc, *pc, *endpc, *nextpc; - JSBool ok = JS_TRUE; - void *mark; - jsval *startsp; -#ifndef G_DISABLE_ASSERT - jsval *checksp; -#endif - int stack_check; - guint action, len; - guint8 *data; - guint version; - const SwfdecActionSpec *spec; - - /* set up general stuff */ - swfdec_script_ref (script); - version = EXTRACT_VERSION (script->version); - *rval = JSVAL_VO...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...ethod, swfdec_action_call_method } }, [0x53] = { "NewMethod", NULL }, /* version 6 */ [0x54] = { "InstanceOf", NULL }, @@ -726,7 +803,7 @@ swfdec_script_interpret (SwfdecScript *s guint8 *startpc, *pc, *endpc, *nextpc; JSBool ok = JS_TRUE; void *mark; - jsval *startsp, *endsp; + jsval *startsp, *endsp, *checksp; int stack_check; guint action, len; guint8 *data; @@ -800,6 +877,8 @@ swfdec_script_interpret (SwfdecScript *s goto internal_error; } if (spec->add < 0) { + /* HACK FIXME: if added args are -1, we pass the number of...
2007 Jan 25
0
Branch 'interpreter' - 28 commits - configure.ac libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_player.c
...ethod, swfdec_action_call_method } }, [0x53] = { "NewMethod", NULL }, /* version 6 */ [0x54] = { "InstanceOf", NULL }, @@ -726,7 +803,7 @@ swfdec_script_interpret (SwfdecScript *s guint8 *startpc, *pc, *endpc, *nextpc; JSBool ok = JS_TRUE; void *mark; - jsval *startsp, *endsp; + jsval *startsp, *endsp, *checksp; int stack_check; guint action, len; guint8 *data; @@ -800,6 +877,8 @@ swfdec_script_interpret (SwfdecScript *s goto internal_error; } if (spec->add < 0) { + /* HACK FIXME: if added args are -1, we pass the number of...