[svn:parrot] r42133 - trunk/src

cotto at svn.parrot.org cotto at svn.parrot.org
Tue Oct 27 02:25:43 UTC 2009


Author: cotto
Date: Tue Oct 27 02:25:41 2009
New Revision: 42133
URL: https://trac.parrot.org/parrot/changeset/42133

Log:
[hash] fix the profiling runcore by allowing hash_value_to_int to retrieve values from a pointer hash

Modified:
   trunk/src/hash.c

Modified: trunk/src/hash.c
==============================================================================
--- trunk/src/hash.c	Tue Oct 27 00:07:55 2009	(r42132)
+++ trunk/src/hash.c	Tue Oct 27 02:25:41 2009	(r42133)
@@ -1944,6 +1944,7 @@
     ASSERT_ARGS(hash_value_to_int)
     INTVAL ret;
     switch (hash->entry_type) {
+        case enum_type_ptr:
         case enum_type_INTVAL:
             ret = (INTVAL)value;
             break;


More information about the parrot-commits mailing list