Skip to content

Commit a8c60c1

Browse files
committed
Toss an unused op.
1 parent 7ced180 commit a8c60c1

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/ops/nqp.ops

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,28 +1855,6 @@ inline op nqp_create_sc(out PMC, in STR) {
18551855
}
18561856

18571857

1858-
/*
1859-
1860-
=item nqp_add_object_to_sc
1861-
1862-
Adds an object $3 to slot $2 of the serialization context in $1 and marks
1863-
the object as being in the context.
1864-
1865-
=cut
1866-
1867-
*/
1868-
inline op nqp_add_object_to_sc(invar PMC, in INT, invar PMC) :base_core {
1869-
if ($3->vtable->base_type == smo_id) {
1870-
VTABLE_set_pmc_keyed_int(interp, $1, $2, $3);
1871-
SC_PMC($3) = $1;
1872-
PARROT_GC_WRITE_BARRIER(interp, $3);
1873-
}
1874-
else
1875-
Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
1876-
"Can only use nqp_add_object_to_sc to add a 6model object");
1877-
}
1878-
1879-
18801858
/*
18811859

18821860
=item nqp_add_code_ref_to_sc

0 commit comments

Comments
 (0)