[svn:parrot] r44199 - trunk/runtime/parrot/library/Math
coke at svn.parrot.org
coke at svn.parrot.org
Fri Feb 19 21:06:36 UTC 2010
Author: coke
Date: Fri Feb 19 21:06:35 2010
New Revision: 44199
URL: https://trac.parrot.org/parrot/changeset/44199
Log:
minor PIR cleanup
(rm commented out code, use 'box')
Modified:
trunk/runtime/parrot/library/Math/Rand.pir
Modified: trunk/runtime/parrot/library/Math/Rand.pir
==============================================================================
--- trunk/runtime/parrot/library/Math/Rand.pir Fri Feb 19 20:51:15 2010 (r44198)
+++ trunk/runtime/parrot/library/Math/Rand.pir Fri Feb 19 21:06:35 2010 (r44199)
@@ -52,9 +52,7 @@
.namespace [ 'Math'; 'Rand' ]
.sub '__onload' :anon :load
-# print "__onload Math::Rand\n"
- new $P0, 'Integer'
- set $P0, 1
+ $P0 = box 1
set_global 'next', $P0
.end
More information about the parrot-commits
mailing list