Commit b8d3e711 authored by Carl Friedrich Bolz's avatar Carl Friedrich Bolz

promote the stackpointer

this is a good idea because the stack depth is always the same at the
same bytecode position
parent 212ca9a1
......@@ -96,7 +96,7 @@ class Frame(Array):
def get_stack_pointer(self):
# Get the current stack pointer for this frame
return self._stack_pointer
return jit.promote(self._stack_pointer)
def set_stack_pointer(self, value):
# Set the current stack pointer for this frame
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment