Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
PMC constants 2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
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 Oct 30 2004, 7:28 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Sat, 30 Oct 2004 13:28:44 +0200
Local: Sat, Oct 30 2004 7:28 am
Subject: [CVS ci] PMC constants 2
Ok, next is committed. The existing constant syntax is extended:

    .const <pmc_enum> var_or_ident = "initstring"

Currently only subroutine constants are supported, e.g.

    .const .Sub $P0 = "foo"
    .const .Sub func = "foo"

The actual opcode emitted is "sub_p_pc" with the index of the subroutine
constant as 2nd argument. This works of course only for subroutines that
are in the same file. Subs in loaded bytecode have still to be located
with the "find_global" opcodes.

This PMC constant syntax is available in PASM mode too.

leo


    Reply to author    Forward  
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.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google