1.1 --- a/rsvp.py Tue Nov 01 01:16:09 2011 +0100
1.2 +++ b/rsvp.py Thu Nov 17 01:49:57 2011 +0100
1.3 @@ -220,6 +220,11 @@
1.4 coverage = self.coverage[start:end]
1.5 self.show_memory(memory, coverage, start)
1.6
1.7 + def show_object(self, start):
1.8 + obj = self.memory[start]
1.9 + end = start + obj.size
1.10 + self.show_memory(self.memory[start:end], self.coverage[start:end], start)
1.11 +
1.12 def show_memory(self, memory, coverage, start):
1.13 for i, (c, x) in enumerate(map(None, coverage, memory)):
1.14 location = start + i
1.15 @@ -750,6 +755,9 @@
1.16 codeaddr = self.registers[instruction.working]
1.17 return self.jump(codeaddr, self.pc + 1) # return to the instruction after this one
1.18
1.19 + def JumpInFrameDirect(self, addr, instruction):
1.20 + return self.jump(addr, self.pc + 1) # return to the instruction after this one
1.21 +
1.22 def JumpWithFrame(self, operand, instruction):
1.23 codeaddr = self.registers[instruction.working]
1.24 self.local_sp_stack.append(self.invocation_sp_stack[-1]) # adopt the invocation frame