File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -1855,28 +1855,6 @@ inline op nqp_create_sc(out PMC, in STR) {
1855
1855
}
1856
1856
1857
1857
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
-
1880
1858
/*
1881
1859
1882
1860
=item nqp_add_code_ref_to_sc
You can’t perform that action at this time.
0 commit comments