[svn:parrot] r47039 - branches/ns_func_cleanup/src
whiteknight at svn.parrot.org
whiteknight at svn.parrot.org
Thu May 27 00:47:39 UTC 2010
Author: whiteknight
Date: Thu May 27 00:47:39 2010
New Revision: 47039
URL: https://trac.parrot.org/parrot/changeset/47039
Log:
remove the flag DEBUG_GLOBAL. It was only used in two places and didn't seem to have a lot of utility. If we need to do serious debugging in this area in the future, we can add a new flag and new diagnostics
Modified:
branches/ns_func_cleanup/src/namespace.c
Modified: branches/ns_func_cleanup/src/namespace.c
==============================================================================
--- branches/ns_func_cleanup/src/namespace.c Thu May 27 00:38:57 2010 (r47038)
+++ branches/ns_func_cleanup/src/namespace.c Thu May 27 00:47:39 2010 (r47039)
@@ -106,8 +106,6 @@
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
/* HEADERIZER END: static */
-#define DEBUG_GLOBAL 0
-
/* flags for internal_ns_keyed */
#define INTERN_NS_CREAT 1 /* I'm a fan of the classics */
@@ -496,11 +494,6 @@
ASSERT_ARGS(Parrot_ns_find_namespace_global)
PMC *res;
-#if DEBUG_GLOBAL
- if (globalname)
- Parrot_io_printf(interp, "find_global name '%Ss'\n", globalname);
-#endif
-
if (PMC_IS_NULL(ns))
res = PMCNULL;
else {
@@ -586,10 +579,6 @@
ARGIN_NULLOK(STRING *globalname), ARGIN_NULLOK(PMC *val))
{
ASSERT_ARGS(Parrot_ns_store_global)
-#if DEBUG_GLOBAL
- if (globalname)
- Parrot_io_printf(interp, "store_global name '%Ss'\n", globalname);
-#endif
if (PMC_IS_NULL(ns))
return;
More information about the parrot-commits
mailing list