Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion {CVS ci] assign and set
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Leopold Toetsch  
View profile  
 More options Apr 20 2004, 4:48 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Tue, 20 Apr 2004 09:44:50 +0200
Local: Tues, Apr 20 2004 3:44 am
Subject: {CVS ci] assign and set
I've now checked in some changes WRT these opcodes.

1) Strings - summary

   set Sx, Sy        # alias Sx to Sy
   set Sx, "str"     # set Sx to COW copy of "str"
   set Px, Sy        # CHANGED make Px refer to Sy
   assign Px, Sy     # set Px to COW copy of Sy

2) PMC summary

   set Px, Py        # alias Px to Py
   assign Px, Py     # set Px to value of Py  := Px->vtable->assign_pmc
   setref Px, Py     # make Px refer to Py    := Px->vtable->set_pmc

The latter is the opposite of deref, which now calls the get_pmc()
vtable. C<assign> for reference PMCs is now just passed on.

leo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.