projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use be_put_ignore_regs() instead of duplicating its logic.
[libfirm]
/
ir
/
be
/
test
/
fehler147.c
diff --git
a/ir/be/test/fehler147.c
b/ir/be/test/fehler147.c
index
0ab53fd
..
de69b5f
100644
(file)
--- a/
ir/be/test/fehler147.c
+++ b/
ir/be/test/fehler147.c
@@
-6,12
+6,6
@@
void foo(unsigned char *colors) {
int v;
float glow = g;
- if (glow < 0) {
- glow = 0;
- } else if(glow > 1) {
- glow = 1;
- }
-
v = myftol(255*glow);
colors[0] = colors[1] = colors[2] = v;
}