Fix memoization of functions called with keyset arguments
[hiphop-php.git] / hphp / test / quick / asm_alias.hhas
blob061904b7e1da0a903c0df3b2a399dcf5ecfaa140
1 # Test declaring type aliases
3 .main {
4   DefCls 0
5   DefTypeAlias 0
6   DefTypeAlias 1
7   DefTypeAlias 2
8   DefTypeAlias 3
10   FPushFuncD 1 "foo"
11   Int 0
12   FPassCE 0
13   FCall 1
14   PopR
16   FPushFuncD 1 "foo"
17   String "hi"
18   FPassCE 0
19   FCall 1
20   PopR
22   FPushCtorD 0 "C"
23   FCall 0
24   PopR
25   SetL $x
26   PopC
28   FPushFuncD 1 "bar"
29   FPassL 0 $x
30   FCall 1
31   PopR
33   FPushFuncD 1 "bar"
34   String "hi"
35   FPassCE 0
36   FCall 1
37   PopR
39   FPushFuncD 1 "bar"
40   Null
41   FPassCE 0
42   FCall 1
43   PopR
45   FPushFuncD 1 "baz"
46   FPassL 0 $x
47   FCall 1
48   PopR
50   FPushFuncD 1 "baz"
51   String "hi"
52   FPassCE 0
53   FCall 1
54   PopR
56   FPushFuncD 1 "baz"
57   Null
58   FPassCE 0
59   FCall 1
60   PopR
62   FPushFuncD 1 "quux"
63   FPassL 0 $x
64   FCall 1
65   PopR
67   FPushFuncD 1 "quux"
68   String "hi"
69   FPassCE 0
70   FCall 1
71   PopR
73   FPushFuncD 1 "quux"
74   Null
75   FPassCE 0
76   FCall 1
77   PopR
79   Int 1
80   RetC
83 .function foo(<"@Foo" "Foo" hh_type extended_hint soft > $x) {
84   VerifyParamType $x
85   Null
86   RetC
89 .function bar(<"@Bar" "Bar" hh_type extended_hint soft > $x) {
90   VerifyParamType $x
91   Null
92   RetC
95 .function baz(<"@Baz" "Baz" hh_type extended_hint soft > $x) {
96   VerifyParamType $x
97   Null
98   RetC
101 .function quux(<"@Quux" "Quux" hh_type extended_hint soft > $x) {
102   VerifyParamType $x
103   Null
104   RetC
107 .class C {
108   .method [public] 86ctor() {
109     Null
110     RetC
111   }
114 .alias Foo = <"HH\\int">;
115 .alias Bar = <"C">;
116 .alias Baz = <"C" nullable>;
117 .alias Quux = <N>;