[svn:parrot] r40580 - in branches/tt795_kill_parrot_sub_structure: include/parrot src
bacek at svn.parrot.org
bacek at svn.parrot.org
Sun Aug 16 05:23:21 UTC 2009
Author: bacek
Date: Sun Aug 16 05:23:19 2009
New Revision: 40580
URL: https://trac.parrot.org/parrot/changeset/40580
Log:
[cage] Fix coding standard tests. cotto++ for notice
Modified:
branches/tt795_kill_parrot_sub_structure/include/parrot/sub.h
branches/tt795_kill_parrot_sub_structure/src/sub.c
Modified: branches/tt795_kill_parrot_sub_structure/include/parrot/sub.h
==============================================================================
--- branches/tt795_kill_parrot_sub_structure/include/parrot/sub.h Sun Aug 16 04:40:52 2009 (r40579)
+++ branches/tt795_kill_parrot_sub_structure/include/parrot/sub.h Sun Aug 16 05:23:19 2009 (r40580)
@@ -298,8 +298,6 @@
#define ASSERT_ARGS_mark_context_start __attribute__unused__ int _ASSERT_ARGS_CHECK = 0
#define ASSERT_ARGS_new_continuation __attribute__unused__ int _ASSERT_ARGS_CHECK = \
PARROT_ASSERT_ARG(interp)
-#define ASSERT_ARGS_new_coroutine __attribute__unused__ int _ASSERT_ARGS_CHECK = \
- PARROT_ASSERT_ARG(interp)
#define ASSERT_ARGS_new_ret_continuation __attribute__unused__ int _ASSERT_ARGS_CHECK = \
PARROT_ASSERT_ARG(interp)
#define ASSERT_ARGS_Parrot_capture_lex __attribute__unused__ int _ASSERT_ARGS_CHECK = \
Modified: branches/tt795_kill_parrot_sub_structure/src/sub.c
==============================================================================
--- branches/tt795_kill_parrot_sub_structure/src/sub.c Sun Aug 16 04:40:52 2009 (r40579)
+++ branches/tt795_kill_parrot_sub_structure/src/sub.c Sun Aug 16 05:23:19 2009 (r40580)
@@ -676,7 +676,6 @@
/* If it's actually a PMC still, probably does the same structure
* underneath. */
if (!PObj_is_object_TEST(subclass)) {
- //GETATTR_Sub_sub(interp, subclass, sub);
return PARROT_SUB(subclass);
}
@@ -685,7 +684,6 @@
VTABLE_set_string_native(interp, key, CONST_STRING(interp, "Sub"));
sub_pmc = VTABLE_get_attr_keyed(interp, subclass, key, CONST_STRING(interp, "proxy"));
if (sub_pmc->vtable->base_type == enum_class_Sub) {
- //GETATTR_Sub_sub(interp, sub_pmc, sub);
return PARROT_SUB(sub_pmc);
}
}
More information about the parrot-commits
mailing list