Message234464
Another option to consider is to just use a bit on the BUILD_MAP_UNPACK and then have a stack marking opcode at the function call (not sure what to call it, but say FUNCTION_CALL_MARK)
The advantage would be you don't store or calculate relative stack positions. When the interpreter sees the mark, it stores the function call address for use in BUILD_MAP_UNPACK errors.
Although I guess you have 24 bits to store the relative stack position? |
|
Date |
User |
Action |
Args |
2015-01-22 02:39:32 | NeilGirdhar | set | recipients:
+ NeilGirdhar, gvanrossum, twouters, georg.brandl, terry.reedy, paul.moore, ncoghlan, belopolsky, giampaolo.rodola, ezio.melotti, eric.araujo, andybuckley, r.david.murray, zbysz, eric.snow, Rosuav, berker.peksag, Joshua.Landau, pconnell, Jeff.Kaufman, SpaghettiToastBook |
2015-01-22 02:39:32 | NeilGirdhar | set | messageid: <1421894372.72.0.926060539015.issue2292@psf.upfronthosting.co.za> |
2015-01-22 02:39:32 | NeilGirdhar | link | issue2292 messages |
2015-01-22 02:39:32 | NeilGirdhar | create | |
|