# HG changeset patch # User Paul Boddie # Date 1247362120 -7200 # Node ID 975fb793b0d518befd2031e16deeb11f13a2b3b6 # Parent d99bfad0babf48a7d7be327109c1e407c0ff79de Added missing MakeFragment to the list of current value provider instructions, fixing optimisations applied during list creation. Fixed fragment allocation in the RSVP list.append implementation. diff -r d99bfad0babf -r 975fb793b0d5 micropython/rsvp.py --- a/micropython/rsvp.py Sat Jul 11 02:21:09 2009 +0200 +++ b/micropython/rsvp.py Sun Jul 12 03:28:40 2009 +0200 @@ -251,7 +251,7 @@ LoadAddress, LoadAddressContext, LoadAddressContextCond, LoadAttr, LoadAttrIndex, LoadAttrIndexContextCond, LoadCallable, LoadContext, LoadResult, - LoadException, MakeInstance + LoadException, MakeInstance, MakeFragment ) # vim: tabstop=4 expandtab shiftwidth=4 diff -r d99bfad0babf -r 975fb793b0d5 rsvp.py --- a/rsvp.py Sat Jul 11 02:21:09 2009 +0200 +++ b/rsvp.py Sun Jul 12 03:28:40 2009 +0200 @@ -1074,7 +1074,7 @@ # Make a new fragment, maintaining more space than currently # occupied in order to avoid reallocation. - new_fragment = self.machine._MakeFragment(header.allocated_size) + new_fragment = self.machine._MakeFragment(header.allocated_size + 1) # Copy existing elements.