Skip to content

Commit

Permalink
eliminate useless use of private1 flag on NCI PMC
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/trunk@44919 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
plobsing committed Mar 14, 2010
1 parent 2dda92a commit 5eb693f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/extend.c
Expand Up @@ -1361,7 +1361,6 @@ Parrot_sub_new_from_c_func(PARROT_INTERP,
(char *) NULL, 0);
Parrot_PMC sub = Parrot_pmc_new(interp, enum_class_NCI);
VTABLE_set_pointer_keyed_str(interp, sub, sig, F2DPTR(func));
PObj_get_FLAGS(sub) |= PObj_private1_FLAG;
return sub;
}

Expand Down
1 change: 0 additions & 1 deletion src/ops/core.ops
Expand Up @@ -1277,7 +1277,6 @@ op dlfunc(out PMC, invar PMC, in STR, in STR) {
else {
$1 = Parrot_pmc_new(interp, enum_class_NCI);
VTABLE_set_pointer_keyed_str(interp, $1, $4, F2DPTR(p));
PObj_get_FLAGS($1) |= PObj_private1_FLAG;
}
Parrot_str_free_cstring(name);
}
Expand Down

0 comments on commit 5eb693f

Please sign in to comment.