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

[svn ci] Make PackFile_unpack just unpack, not fixup

From:
Jonathan Worthington
Date:
September 15, 2005 16:53
Subject:
[svn ci] Make PackFile_unpack just unpack, not fixup
Message ID:
01b901c5ba50$adf4d1a0$0200a8c0@SERVER
Hi,

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 
afterwards.

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 




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About