Displaying 4 results from an estimated 4 matches for "compilestate".
Did you mean:
compile_date
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
...piling */
- GArray * offsets; /* offsets of actions */
- GArray * jumps; /* accumulated jumps */
- GArray * trynotes; /* try/catch blocks */
- GPtrArray * pool; /* ConstantPool data */
- GArray * commands; /* debug informations */
- guint command_last; /* offset to last command */
-} CompileState;
-
-/*** DEBUGGING STUFF ***/
-
-/* NB: this must be called _before_ adding bytecode */
-static void
-compile_state_debug_add (CompileState *state, const char *format, ...) G_GNUC_PRINTF (2, 3);
-static void
-compile_state_debug_add (CompileState *state, const char *format, ...)
-{
- va_list args;...
2007 Feb 02
0
Branch 'interpreter' - 6 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_compiler.c libswfdec/swfdec_sprite.c test/swfdec-extract.c
...b 2 18:59:45 2007 +0100
Finish compiling at end of bitstream, too, not just with 0 action
diff --git a/libswfdec/swfdec_compiler.c b/libswfdec/swfdec_compiler.c
index abeec0b..68221e3 100644
--- a/libswfdec/swfdec_compiler.c
+++ b/libswfdec/swfdec_compiler.c
@@ -559,6 +559,10 @@ compile_push (CompileState *state, guint
switch (type) {
case 0: /* string */
s = swfdec_bits_skip_string (state->bits);
+ if (s) {
+ compile_state_error (state, "Push: Could not get string");
+ return;
+ }
compile_state_debug_add (state, "Push \"%s\"", s);
push_string (...
2007 Feb 06
0
Branch 'interpreter' - 15 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_image.c libswfdec/swfdec_sprite_movie.c
...te@gnome.org>
Date: Sun Feb 4 18:50:46 2007 +0100
that should be == NULL, not != NULL
diff --git a/libswfdec/swfdec_compiler.c b/libswfdec/swfdec_compiler.c
index 68221e3..737a4d9 100644
--- a/libswfdec/swfdec_compiler.c
+++ b/libswfdec/swfdec_compiler.c
@@ -559,7 +559,7 @@ compile_push (CompileState *state, guint
switch (type) {
case 0: /* string */
s = swfdec_bits_skip_string (state->bits);
- if (s) {
+ if (s == NULL) {
compile_state_error (state, "Push: Could not get string");
return;
}
2007 Feb 06
0
21 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c
...te@gnome.org>
Date: Sun Feb 4 18:50:46 2007 +0100
that should be == NULL, not != NULL
diff --git a/libswfdec/swfdec_compiler.c b/libswfdec/swfdec_compiler.c
index 68221e3..737a4d9 100644
--- a/libswfdec/swfdec_compiler.c
+++ b/libswfdec/swfdec_compiler.c
@@ -559,7 +559,7 @@ compile_push (CompileState *state, guint
switch (type) {
case 0: /* string */
s = swfdec_bits_skip_string (state->bits);
- if (s) {
+ if (s == NULL) {
compile_state_error (state, "Push: Could not get string");
return;
}
diff-tree d7db95f092791ed1e81ad2d2e4f9e3fb345d6f79 (from ad56f27f4cc8...