develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r33854 - trunk/examples/benchmarks

From:
simon
Date:
December 13, 2008 06:25
Subject:
[svn:parrot] r33854 - trunk/examples/benchmarks
Message ID:
20081213142511.95D32CB9AF@x12.develooper.com
Author: simon
Date: Sat Dec 13 06:25:10 2008
New Revision: 33854

Modified:
   trunk/examples/benchmarks/addit.pir
   trunk/examples/benchmarks/fib.pir

Log:
Correct a couple of calling convention changes.


Modified: trunk/examples/benchmarks/addit.pir
==============================================================================
--- trunk/examples/benchmarks/addit.pir	(original)
+++ trunk/examples/benchmarks/addit.pir	Sat Dec 13 06:25:10 2008
@@ -62,9 +62,7 @@
         add sum, a2
         add sum, a3
         add sum, a4
-        .begin_return
-    .return sum
-    .end_return
+    .return (sum)
 .end
 
 =head1 SEE ALSO

Modified: trunk/examples/benchmarks/fib.pir
==============================================================================
--- trunk/examples/benchmarks/fib.pir	(original)
+++ trunk/examples/benchmarks/fib.pir	Sat Dec 13 06:25:10 2008
@@ -54,9 +54,7 @@
     r2 = _fib(n2)
     n = r1 + r2
 ret:
-    .begin_return
-    .return n
-    .end_return
+    .return (n)
 .end
 
 =head1 SEE ALSO



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About