Skip to content

Instantly share code, notes, and snippets.

@magcius
Created February 21, 2012 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magcius/1875229 to your computer and use it in GitHub Desktop.
Save magcius/1875229 to your computer and use it in GitHub Desktop.
summary for asctest.abc, 178.0 bytes
constants:
ints:
ints[0] = 0
uints:
uints[0] = 0
doubles:
doubles[0] = nan
utf8:
utf8[0] = ''
utf8[1] = u''
utf8[2] = u'asctest.as$0'
utf8[3] = u'print'
utf8[4] = u'a is'
utf8[5] = u'i is'
utf8[6] = u'a'
utf8[7] = u'i'
namespaces:
namespaces[0] = Namespace(name='*', kind='normal')
namespaces[1] = Namespace(name=u'', kind='normal')
namespaces[2] = Namespace(name=u'asctest.as$0', kind='private')
namespaces[3] = Namespace(name='', kind='package')
nssets:
nssets[0] = 'non-existant'
nssets[1] = NamespaceSet([Namespace(name=u'', kind='normal'), Namespace(name=u'asctest.as$0', kind='private')])
multinames:
multinames[0] = *
multinames[1] = <fusion.avm2.constants.MultinameL object at 0x1fef190>
multinames[2] = <fusion.avm2.constants.Multiname object at 0x1fef250>
multinames[3] = asctest.as$0::a
multinames[4] = asctest.as$0::i
script0
{
function script0$init() : *
{
0 getlocal0 (0xD0)
1 pushscope (0x30)
2 pushbyte (0x24, arg=0)
3 pushbyte (0x24, arg=1)
4 newarray (0x56 arg=0x02)
6 getglobalscope (0x64)
7 swap (0x2B)
8 setslot (0x6D arg=0x01)
10 pushbyte (0x24, arg=0)
11 getglobalscope (0x64)
12 swap (0x2B)
13 setslot (0x6D arg=0x02)
15 getglobalscope (0x64)
16 getslot (0x6C arg=0x01)
18 getglobalscope (0x64)
19 getslot (0x6C arg=0x02)
21 convert_d (0x75)
22 dup (0x2A)
23 increment (0x91)
24 setlocal2 (0xD6)
25 getlocal2 (0xD2)
26 getglobalscope (0x64)
27 swap (0x2B)
28 setslot (0x6D arg=0x02)
30 kill (0x08 arg=0x02)
32 getglobalscope (0x64)
33 getslot (0x6C arg=0x01)
35 getglobalscope (0x64)
36 getslot (0x6C arg=0x02)
38 convert_d (0x75)
39 dup (0x2A)
40 increment (0x91)
41 setlocal2 (0xD6)
42 getlocal2 (0xD2)
43 getglobalscope (0x64)
44 swap (0x2B)
45 setslot (0x6D arg=0x02)
47 kill (0x08 arg=0x02)
49 getproperty (0x66, multiname=<fusion.avm2.constants.MultinameL object at 0x1fef190>)
51 pushbyte (0x24, arg=1)
52 add (0xA0)
53 setproperty (0x61, multiname=<fusion.avm2.constants.MultinameL object at 0x1fef190>)
55 findpropstrict (0x5D, multiname=<fusion.avm2.constants.Multiname object at 0x1fef250>)
57 pushstring (0x2C arg=4 (u'a is'))
59 getglobalscope (0x64)
60 getslot (0x6C arg=0x01)
62 callproperty (0x46, multiname=<fusion.avm2.constants.Multiname object at 0x1fef250>, num_args=2)
65 pop (0x29)
66 findpropstrict (0x5D, multiname=<fusion.avm2.constants.Multiname object at 0x1fef250>)
68 pushstring (0x2C arg=5 (u'i is'))
70 getglobalscope (0x64)
71 getslot (0x6C arg=0x02)
73 callproperty (0x46, multiname=<fusion.avm2.constants.Multiname object at 0x1fef250>, num_args=2)
76 coerce_a (0x82)
77 setlocal1 (0xD5)
78 getlocal1 (0xD1)
79 returnvalue (0x48)
80 kill (0x08 arg=0x01)
}
var asctest.as$0::a : * (slot id=1)
var asctest.as$0::i : * (slot id=2)
}
// stats:
// 0 methods, 1 bodies
// 0 properties
// 2 slots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment