Permalink
Browse files

Move WB after we changed NCI guts.

  • Loading branch information...
1 parent d37e6c5 commit 176db42de1fe3313241d59481380bd8ec8c11ae0 @bacek bacek committed Feb 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pmc/nci.pmc
View
@@ -55,7 +55,6 @@ build_func(PARROT_INTERP, ARGIN(PMC *obj), ARGMOD(Parrot_NCI_attributes *nci))
{
ASSERT_ARGS(build_func)
- PARROT_GC_WRITE_BARRIER(interp, obj);
nci->signature = Parrot_nci_parse_signature(interp, nci->sig_str);
Parrot_nci_sig_to_pcc(interp, nci->signature,
@@ -68,6 +67,7 @@ build_func(PARROT_INTERP, ARGIN(PMC *obj), ARGMOD(Parrot_NCI_attributes *nci))
/* Build call function. */
nci->fb_info = build_call_func(interp, nci->sig_str);
nci->func = F2DPTR(VTABLE_get_pointer(interp, nci->fb_info));
+ PARROT_GC_WRITE_BARRIER(interp, obj);
return (nci_thunk_t)nci->func;
}

0 comments on commit 176db42

Please sign in to comment.