search for: jsop_getelem

Displaying 2 results from an estimated 2 matches for "jsop_getelem".

2007 Jan 12
1
compiling vs interpreting
...ion with. However, the Actionscript code pops it off the stack. While being security sensitive (see above) there is also no bytecode for it. Another such example is the GetVariable action that can request a whole old-style path such as "/root/movie/video:width". Good luck trying that with JSOP_GETELEM. I'd need to hack this functionality into all these opcodes or add new ones, but that doesn't make it simpler. - one layer less since I don't convert to (probably slower because of various workarounds) Spidermonkey bytecodes, there's one area less that can fuck up, namely jsinterp....
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
...- op = JSOP_SETELEM; - break; - default: - g_assert_not_reached (); - op = JSOP_NOP; - } - ONELINER (state, op); - POP (state); -} - -static void -compile_get_member (CompileState *state, guint action, guint len) -{ - add_try_catch_block (state, 1, 4); - ONELINER (state, JSOP_GETELEM); - THREELINER_INT (state, JSOP_GOTO, 5); - POP (state); - ONELINER (state, JSOP_VOID); -} - -/* Flash < 7 does conversions to numbers way different than JS or Flash 7+ - * This function is supposed to do that conversion */ -static void -ensure_number_flash6 (CompileState *state) -{ - if (st...