repo.or.cz
/
sixpic.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Changed the way jumps are generated to avoid generating jumps to the
[sixpic.git]
/
tests
/
misc
/
register-mess-up.c
blob
b45c8a440f467e3df82ae080feb0f9cb61bd6677
1
// this used to be a tricky case. since y was not live before the if, it didn't interfere with x, and was allocated at the same place, which cleared x. this is now solved.
2
byte
f
(){
3
byte x
=
2
;
4
byte y
=
0
;
5
if
(
x
)
y
=
4
;
6
else
y
=
3
;
7
return
y
;
8
}
9
f
();