File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ class HLL::Compiler::SerializationContextBuilder {
385
385
# Add it to the compile time meta-object.
386
386
$ obj . HOW . " $ meta_method_name" ($ obj , $ name , $ dummy );
387
387
388
- # For fixup, need to copy the method body we actually compiled
388
+ # For fixup, need to assign the method body we actually compiled
389
389
# onto the one that went into the SC. Deserializing is easier -
390
390
# just the straight meta-method call.
391
391
my $ slot_past := self . get_slot_past_for_object($ obj );
@@ -398,7 +398,7 @@ class HLL::Compiler::SerializationContextBuilder {
398
398
PAST::Val. new ( : value($ method_past ) )
399
399
)),
400
400
: fixup_past(PAST::Op. new (
401
- : pirop(' copy vPP' ),
401
+ : pirop(' assign vPP' ),
402
402
self . get_slot_past_for_object($ dummy ),
403
403
PAST::Val. new ( : value($ method_past ) )
404
404
)));
@@ -454,7 +454,7 @@ class HLL::Compiler::SerializationContextBuilder {
454
454
455
455
# Add fixup for the cloned code.
456
456
$ fixups . push (PAST::Op. new (
457
- : pirop(' copy vPP' ),
457
+ : pirop(' assign vPP' ),
458
458
self . get_slot_past_for_object($ clone ),
459
459
PAST::Val. new ( : value(pir::getprop__PsP(' PAST' , $ meth )) )
460
460
));
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ pmclass DispatcherSub extends Sub auto_attrs dynpmc group nqp {
30
30
31
31
VTABLE void assign_pmc(PMC *other) {
32
32
/* It's OK to assign another DispatcherSub or alternatively to
33
- * assign a Parrot Sub (our immediate parent); */
33
+ * assign a Parrot Sub (our immediate parent). */
34
34
if (other->vtable->base_type == SELF->vtable->base_type ||
35
35
other->vtable->base_type == enum_class_Sub) {
36
36
Parrot_Sub_attributes *my_sub;
You can’t perform that action at this time.
0 commit comments