global statement removal: hphp/test [7/x]
[hiphop-php.git] / hphp / test / quick / asm_hoistable_2.hhas
blobf293d2ac57855d0414cb2d481269c66b2b788962
1 # Test that things can get marked AlwaysHoistable
3 .main {
4   DefClsNop 0
5   DefClsNop 1
7   FPushClsMethodD 0 "print" "B"
8   FCall <> 0 1 "" - "" ""
9   PopC
11   Int 1
12   RetC
15 .class [unique] a {
16   .default_ctor;
19 .class [unique] B extends A {
20   .default_ctor;
22   .method [public static] print() {
23     String "hi\n"
24     Print
25     PopC
27     Null
28     RetC
29   }