-
-
Notifications
You must be signed in to change notification settings - Fork 813
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avm2: Skip attempting to serialize methods
- Loading branch information
Showing
5 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
tests/tests/swfs/avm2/bytearray_method_serialization/Test.as
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// compiled with mxmlc (and modified to SWF v9) | ||
|
||
import flash.utils.ByteArray; | ||
import flash.geom.Point; | ||
|
||
var p = new Point(); | ||
var b = new ByteArray(); | ||
b.writeObject(p); | ||
trace(b.length); | ||
|
||
package { | ||
import flash.display.MovieClip; | ||
|
||
public class Test extends MovieClip { | ||
public function Test() { | ||
return; | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
tests/tests/swfs/avm2/bytearray_method_serialization/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
25 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
num_frames = 1 |