repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
global statement removal: hphp/test [7/x]
[hiphop-php.git]
/
hphp
/
test
/
quick
/
asm_hoistable_2.hhas
blob
f293d2ac57855d0414cb2d481269c66b2b788962
1
# Test that things can get marked AlwaysHoistable
2
3
.main {
4
DefClsNop 0
5
DefClsNop 1
6
7
FPushClsMethodD 0 "print" "B"
8
FCall <> 0 1 "" - "" ""
9
PopC
10
11
Int 1
12
RetC
13
}
14
15
.class [unique] a {
16
.default_ctor;
17
}
18
19
.class [unique] B extends A {
20
.default_ctor;
21
22
.method [public static] print() {
23
String "hi\n"
24
Print
25
PopC
26
27
Null
28
RetC
29
}
30
31
}