|
Re: Q: newsub opcodes: msg#00626lang.perl.perl6.internals
At 2:46 PM +0200 10/29/04, Leopold Toetsch wrote: When PIR code has a function call syntax:[snip] So I think, we should do instead something like this:[snip] Is that reasonable? Yeah, but I think I've a better approach. Instead of doing this, let's just get PMC constants implemented. (I know -- "just" he says :) Each sub in a bytecode segment can get a slot in the constant table, and we can map in sub fetches to the (as of now nonexistent) set_p_pc op. While we're at it we should see about adding in an integer constant table that can be fixed up on load (to take care of those pesky "what number did my PMC class map to" problems more quickly than the hash lookup) but we can put that off a bit. -- Dan --------------------------------------it's like this------------------- Dan Sugalski even samurai dan@xxxxxxxxx have teddy bears and even teddy bears get drunk |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [perl #32208] [PATCH] Register allocation patch - scales better to more symbols: 00626, Dan Sugalski |
|---|---|
| Next by Date: | Re: [perl #32208] [PATCH] Register allocation patch - scales better to more symbols: 00626, Dan Sugalski |
| Previous by Thread: | Q: newsub opcodesi: 00626, Leopold Toetsch |
| Next by Thread: | Re: Q: newsub opcodes: 00626, Leopold Toetsch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |