Displaying 1 result from an estimated 1 matches for "branchalway".
Did you mean:
branchalways
2007 Jun 05
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_scope.h
...e real checks are binary-modified to produce the desired tests.
+// The branch offsets have been adjusted.
+trace ("Check various things when jumping into with commands");
+x = 0;
+o = new Object ();
+o.x = -1;
+with (o) {
+ trace (x);
+}
+trace (x);
+x++;
+if (x < 10) {
+ asm {
+ branchalways "hi"
+ };
+}
+
+loadMovie ("FSCommand:quit", "");
diff --git a/test/trace/jump-into-with.swf b/test/trace/jump-into-with.swf
new file mode 100644
index 0000000..2baaeb5
Binary files /dev/null and b/test/trace/jump-into-with.swf differ
diff --git a/test/trace/jump-int...