[svn:parrot] r46247 - trunk/src
darbelo at svn.parrot.org
darbelo at svn.parrot.org
Mon May 3 22:32:03 UTC 2010
Author: darbelo
Date: Mon May 3 22:32:03 2010
New Revision: 46247
URL: https://trac.parrot.org/parrot/changeset/46247
Log:
Remove '#if 0' from src/sub.c
Modified:
trunk/src/sub.c
Modified: trunk/src/sub.c
==============================================================================
--- trunk/src/sub.c Mon May 3 22:31:50 2010 (r46246)
+++ trunk/src/sub.c Mon May 3 22:32:03 2010 (r46247)
@@ -435,18 +435,6 @@
if (PMC_IS_NULL(sub->outer_sub))
return;
-#if 0
- /* verify that the current sub is sub_pmc's :outer */
- PMC_get_sub(interp, sub->outer_sub, outer_sub);
- if (Parrot_str_not_equal(interp, current_sub->subid,
- outer_sub->subid)) {
- Parrot_ex_throw_from_c_args(interp, NULL,
- EXCEPTION_INVALID_OPERATION, "'%Ss' isn't the :outer of '%Ss'",
- current_sub->name, sub->name);
- return;
- }
-#endif
-
/* set the sub's outer context to the current context */
sub->outer_ctx = ctx;
}
More information about the parrot-commits
mailing list