add inline version of rebless_instance_structure
Jesse Luehrs [Thu, 25 Jun 2009 15:15:20 +0000 (10:15 -0500)]
lib/Class/MOP/Instance.pm

index d6d8c29..fb14cfd 100644 (file)
@@ -214,6 +214,11 @@ sub inline_strengthen_slot_value {
     $self->inline_set_slot_value($instance, $slot_name, $self->inline_slot_access($instance, $slot_name));
 }
 
+sub inline_rebless_instance_structure {
+    my ($self, $instance, $class_variable) = @_;
+    "bless $instance => $class_variable";
+}
+
 1;
 
 __END__