From dc0823b58bf1886b6a7f8d3a63319b9449fa8d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sun, 11 Aug 2024 12:35:34 +0200 Subject: [PATCH] Remove unnecessary data. Decimal abc without nonnullable class. --- .../ffdec_lib/testdata/decimal/bin/decimal.abc | Bin 895 -> 895 bytes .../ffdec_lib/testdata/decimal/bin/decimal.cpp | 14 +++++++------- .../testdata/decimal/src/mypkg/MyClass.as | 2 +- .../testdata/decimal/src_air/mypkg/MySprite.as | 16 ---------------- 4 files changed, 8 insertions(+), 24 deletions(-) delete mode 100644 libsrc/ffdec_lib/testdata/decimal/src_air/mypkg/MySprite.as diff --git a/libsrc/ffdec_lib/testdata/decimal/bin/decimal.abc b/libsrc/ffdec_lib/testdata/decimal/bin/decimal.abc index eb9367eaef4701912a2dc9b2c53158e293596181..9dda7846aaadebe91db53772a119f2bf176a2f78 100644 GIT binary patch delta 90 zcmey*_MdITUPeaF$@>_q%?vJhGPpA^urM+*voK#U05Vw_8Ch7_E_q%{&<{7`QVqurM+*voM31tc;8-tZWyc5^M+wc7(*_d?ryA Pkc!D2OjjX{L}obv(@7OK diff --git a/libsrc/ffdec_lib/testdata/decimal/bin/decimal.cpp b/libsrc/ffdec_lib/testdata/decimal/bin/decimal.cpp index 05310d937..976b382d9 100644 --- a/libsrc/ffdec_lib/testdata/decimal/bin/decimal.cpp +++ b/libsrc/ffdec_lib/testdata/decimal/bin/decimal.cpp @@ -30,7 +30,7 @@ const unsigned char decimal_abc_data[895] = { 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x12, 0x04, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x06, 0x01, 0x00, 0x09, 0x03, 0x00, 0x01, 0x00, 0x02, 0x01, 0x09, 0x05, 0x00, 0x03, 0x00, 0x03, 0x01, 0x09, 0x07, 0x00, 0x05, 0x00, 0x04, 0x01, 0x09, -0x09, 0x00, 0x07, 0x00, 0x05, 0x01, 0x09, 0x0c, 0x00, 0x09, 0x00, 0x16, 0x01, 0x19, 0x10, 0x00, +0x09, 0x00, 0x07, 0x00, 0x05, 0x01, 0x09, 0x0c, 0x00, 0x09, 0x00, 0x16, 0x01, 0x09, 0x10, 0x00, 0x0d, 0x03, 0x13, 0x00, 0x01, 0x04, 0x00, 0x14, 0x00, 0x02, 0x03, 0x00, 0x15, 0x01, 0x02, 0x0c, 0x00, 0x00, 0x02, 0x00, 0x04, 0x00, 0x06, 0x00, 0x08, 0x00, 0x0b, 0x00, 0x02, 0x0e, 0x01, 0x16, 0x04, 0x01, 0x05, 0x0a, 0x09, 0x11, 0x06, 0x00, 0x00, 0x0d, 0x08, 0x01, 0x04, 0x00, 0x00, 0x02, @@ -38,12 +38,12 @@ const unsigned char decimal_abc_data[895] = { 0x06, 0x00, 0x02, 0x01, 0x06, 0x0e, 0x06, 0x00, 0x02, 0x02, 0x06, 0x10, 0x06, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x01, 0x01, 0x02, 0x03, 0x03, 0xd0, 0x30, 0x47, 0x00, 0x00, 0x01, 0x01, 0x01, 0x03, 0x04, 0x03, 0xd0, 0x30, 0x47, 0x00, 0x00, 0x02, 0x01, 0x01, 0x03, 0x04, 0x03, 0xd0, 0x30, 0x47, -0x00, 0x00, 0x03, 0x01, 0x01, 0x04, 0x05, 0x06, 0xd0, 0x49, 0x00, 0xd0, 0x30, 0x47, 0x00, 0x00, +0x00, 0x00, 0x03, 0x01, 0x01, 0x04, 0x05, 0x06, 0xd0, 0x30, 0xd0, 0x49, 0x00, 0x47, 0x00, 0x00, 0x04, 0x01, 0x01, 0x03, 0x04, 0x03, 0xd0, 0x30, 0x47, 0x00, 0x00, 0x05, 0x01, 0x01, 0x04, 0x05, -0x06, 0xd0, 0x49, 0x00, 0xd0, 0x30, 0x47, 0x00, 0x00, 0x06, 0x01, 0x01, 0x03, 0x04, 0x03, 0xd0, -0x30, 0x47, 0x00, 0x00, 0x07, 0x01, 0x01, 0x04, 0x05, 0x06, 0xd0, 0x49, 0x00, 0xd0, 0x30, 0x47, +0x06, 0xd0, 0x30, 0xd0, 0x49, 0x00, 0x47, 0x00, 0x00, 0x06, 0x01, 0x01, 0x03, 0x04, 0x03, 0xd0, +0x30, 0x47, 0x00, 0x00, 0x07, 0x01, 0x01, 0x04, 0x05, 0x06, 0xd0, 0x30, 0xd0, 0x49, 0x00, 0x47, 0x00, 0x00, 0x08, 0x01, 0x01, 0x03, 0x04, 0x03, 0xd0, 0x30, 0x47, 0x00, 0x00, 0x09, 0x01, 0x01, -0x04, 0x05, 0x06, 0xd0, 0x49, 0x00, 0xd0, 0x30, 0x47, 0x00, 0x00, 0x0a, 0x03, 0x01, 0x01, 0x03, +0x04, 0x05, 0x06, 0xd0, 0x30, 0xd0, 0x49, 0x00, 0x47, 0x00, 0x00, 0x0a, 0x03, 0x01, 0x01, 0x03, 0x61, 0xd0, 0x30, 0x5d, 0x06, 0x20, 0x58, 0x00, 0x68, 0x01, 0x5d, 0x07, 0x5d, 0x01, 0x66, 0x01, 0x30, 0x5d, 0x01, 0x66, 0x01, 0x58, 0x01, 0x1d, 0x68, 0x02, 0x5d, 0x08, 0x5d, 0x01, 0x66, 0x01, 0x30, 0x5d, 0x01, 0x66, 0x01, 0x58, 0x02, 0x1d, 0x68, 0x03, 0x5d, 0x09, 0x5d, 0x01, 0x66, 0x01, @@ -56,6 +56,6 @@ const unsigned char decimal_abc_data[895] = { 0x05, 0x82, 0x63, 0x04, 0xd2, 0xd3, 0xb8, 0x81, 0x05, 0x82, 0x63, 0x04, 0xd2, 0xd3, 0xb9, 0x81, 0x05, 0x82, 0x63, 0x04, 0xd2, 0xd3, 0xb7, 0x81, 0x05, 0x82, 0x63, 0x04, 0x62, 0x04, 0x9c, 0x81, 0x05, 0x82, 0x63, 0x04, 0x62, 0x04, 0x9e, 0x81, 0x05, 0x82, 0x63, 0x04, 0xd2, 0x8f, 0x81, 0x05, -0x82, 0x63, 0x04, 0x47, 0x00, 0x00, 0x0d, 0x01, 0x01, 0x04, 0x05, 0x06, 0xd0, 0x49, 0x00, 0xd0, -0x30, 0x47, 0x00, 0x00, 0x0e, 0x02, 0x01, 0x01, 0x03, 0x13, 0xd0, 0x30, 0x65, 0x00, 0x5d, 0x01, +0x82, 0x63, 0x04, 0x47, 0x00, 0x00, 0x0d, 0x01, 0x01, 0x04, 0x05, 0x06, 0xd0, 0x30, 0xd0, 0x49, +0x00, 0x47, 0x00, 0x00, 0x0e, 0x02, 0x01, 0x01, 0x03, 0x13, 0xd0, 0x30, 0x65, 0x00, 0x5d, 0x01, 0x66, 0x01, 0x30, 0x5d, 0x01, 0x66, 0x01, 0x58, 0x05, 0x1d, 0x68, 0x16, 0x47, 0x00, 0x00 }; diff --git a/libsrc/ffdec_lib/testdata/decimal/src/mypkg/MyClass.as b/libsrc/ffdec_lib/testdata/decimal/src/mypkg/MyClass.as index 410194690..cf0d36df7 100644 --- a/libsrc/ffdec_lib/testdata/decimal/src/mypkg/MyClass.as +++ b/libsrc/ffdec_lib/testdata/decimal/src/mypkg/MyClass.as @@ -2,7 +2,7 @@ package mypkg { use decimal, rounding CEILING, precision 10; - public class MyClass! + public class MyClass/*!*/ { private var attr_dec:decimal; private var attr_int:int; diff --git a/libsrc/ffdec_lib/testdata/decimal/src_air/mypkg/MySprite.as b/libsrc/ffdec_lib/testdata/decimal/src_air/mypkg/MySprite.as deleted file mode 100644 index 1e0538574..000000000 --- a/libsrc/ffdec_lib/testdata/decimal/src_air/mypkg/MySprite.as +++ /dev/null @@ -1,16 +0,0 @@ -package mypkg -{ - import flash.display.Sprite; - - public class MySprite extends Sprite - { - - public function test(): void - { - - var a:* = 70000m; - } - - } - -}