[llvm-commits] CVS: llvm-www/demo/index.cgi

Brian Gaeke gaeke at cs.uiuc.edu
Thu Nov 20 18:33:00 PST 2003


Changes in directory llvm-www/demo:

index.cgi updated: 1.9 -> 1.10

---
Log message:

Whoops, that went in the wrong place. It was supposed to print out the
bytecode size.


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

Index: llvm-www/demo/index.cgi
diff -u llvm-www/demo/index.cgi:1.9 llvm-www/demo/index.cgi:1.10
--- llvm-www/demo/index.cgi:1.9	Thu Nov 20 18:31:22 2003
+++ llvm-www/demo/index.cgi	Thu Nov 20 18:32:23 2003
@@ -5,7 +5,7 @@
 # doing remote web JO99C compilations.  (It could still be used for that
 # purpose, though the two scripts have diverged somewhat.)
 #
-# Last modified $Date: 2003/11/21 00:31:22 $
+# Last modified $Date: 2003/11/21 00:32:23 $
 #
 
 use CGI;
@@ -285,12 +285,12 @@
         system("mv $tmpFile $outputFile");
     }
 
+	print " Bytecode size is ", -s $outputFile, " bytes.\n";
+
     my $disassemblyFile = getname(".ll");
     try_run( "llvm-dis",
         "llvm-dis -o=$disassemblyFile $bytecodeFile > $outputFile 2>&1",
         $outputFile );
-
-	print " Bytecode size is ", -s $outputFile, " bytes.\n";
 
     if ( $c->param('cxxdemangle') ) {
         print " Demangling disassembler output.\n";





More information about the llvm-commits mailing list