[svn:parrot] r38744 - branches/pmc_pct/compilers/pmcc/src

bacek at svn.parrot.org bacek at svn.parrot.org
Wed May 13 12:09:12 UTC 2009


Author: bacek
Date: Wed May 13 12:09:10 2009
New Revision: 38744
URL: https://trac.parrot.org/parrot/changeset/38744

Log:
Add sub defined into util

Modified:
   branches/pmc_pct/compilers/pmcc/src/builtins.pir

Modified: branches/pmc_pct/compilers/pmcc/src/builtins.pir
==============================================================================
--- branches/pmc_pct/compilers/pmcc/src/builtins.pir	Wed May 13 09:59:49 2009	(r38743)
+++ branches/pmc_pct/compilers/pmcc/src/builtins.pir	Wed May 13 12:09:10 2009	(r38744)
@@ -24,6 +24,12 @@
     .return ($S0)
 .end
 
+.sub 'defined'
+    .param pmc thing
+    $I0 = defined thing
+    .return ($I0)
+.end
+
 # Local Variables:
 #   mode: pir
 #   fill-column: 100


More information about the parrot-commits mailing list