[llvm-commits] CVS: poolalloc/test/TEST.poolalloc.report

Chris Lattner lattner at cs.uiuc.edu
Sat Nov 6 15:25:28 CST 2004



Changes in directory poolalloc/test:

TEST.poolalloc.report updated: 1.19 -> 1.20

---
Log message:

Remember, only 'legal' divisions by zero are allowed, not illegal ones.

Thanks perl



---
Diffs of the changes:  (+1 -1)

Index: poolalloc/test/TEST.poolalloc.report
diff -u poolalloc/test/TEST.poolalloc.report:1.19 poolalloc/test/TEST.poolalloc.report:1.20
--- poolalloc/test/TEST.poolalloc.report:1.19	Sat Nov  6 14:50:20 2004
+++ poolalloc/test/TEST.poolalloc.report	Sat Nov  6 15:25:18 2004
@@ -11,7 +11,7 @@
 sub RuntimePercent {
   my ($Cols, $Col) = @_;
   if ($Cols->[$Col-1] ne "*" and $Cols->[3] ne "*" and
-      $Cols->[$Col-1] != "0") {
+      $Cols->[3] != "0") {
     return sprintf "%7.2f", 100*$Cols->[$Col-1]/$Cols->[3];
   } else {
     return "n/a";





More information about the llvm-commits mailing list