1.1 --- a/micropython/rsvp.py Thu Apr 17 23:04:50 2008 +0200
1.2 +++ b/micropython/rsvp.py Mon Apr 21 00:13:09 2008 +0200
1.3 @@ -95,17 +95,18 @@
1.4 # ... DropObject not defined: Assume garbage collection.
1.5 class LoadAttr(AR): "Load the object from the given attribute."
1.6 class StoreAttr(AR): "Store an object in the given attribute."
1.7 -class LoadAttrIndex(Instruction): "Load the object for the attribute with the given index."
1.8 -class StoreAttrIndex(Instruction): "Store an object in the attribute with the given index."
1.9 +class LoadAttrIndex(Immediate): "Load the object for the attribute with the given index."
1.10 +class StoreAttrIndex(Immediate): "Store an object in the attribute with the given index."
1.11
1.12 # Access to invocation frames in preparation.
1.13
1.14 class MakeFrame(Instruction): "Make a new invocation frame."
1.15 -class ReserveFrame(Instruction): "Reserve the given number of entries for the invocation frame."
1.16 +class ReserveFrame(Immediate): "Reserve the given number of entries for the invocation frame."
1.17 class DropFrame(Instruction): "Drop an invocation frame."
1.18 class StoreFrame(Instruction): "Store an argument at the given frame location."
1.19 -class StoreFrameIndex(Instruction): "Store an argument for the parameter with the given index."
1.20 +class StoreFrameIndex(Immediate): "Store an argument for the parameter with the given index."
1.21 class CheckFrame(Instruction): "Check the invocation frame for the target."
1.22 +class JumpWithFrame(Instruction): "Jump, adopting the invocation frame."
1.23
1.24 # Invocation-related instructions.
1.25