develooper Front page | perl.perl6.internals | Postings from September 2005

[svn ci] Make PackFile_unpack just unpack, not fixup

Jonathan Worthington
September 15, 2005 16:53
[svn ci] Make PackFile_unpack just unpack, not fixup
Message ID:

I just checked in a change to make PackFile_unpack only unpack, not fixup 
the packfile. When writing code that wants to deal with PBC files, sometimes 
we want the raw bytecode before it has offsets replaced with memory 
addresses (I'm currently writing pbc_merge, which has this need). I changed 
the few bits of code that used PackFile_unpack to also call fixup_subs 

For anyone wondering, pbc_merge isn't all that far along at all - this is 
just an early issue I ran into that needed fixing up before I could really 
dig into it.  I'll monkey on.  :-)

Jonathan Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About