Commit 437c5501 authored by Carl Friedrich Bolz's avatar Carl Friedrich Bolz

these functions need to be unrolled too

parent e58e8bd2
......@@ -116,6 +116,7 @@ class Interpreter(object):
# Pop the top frame and push the result
self._pop_frame_and_push_result(result)
@jit.unroll_safe
def _do_return_non_local(self):
# Handle the return non local bytecode
result = self.get_frame().pop()
......@@ -286,6 +287,7 @@ class Interpreter(object):
# Return the popped frame
return result
@jit.unroll_safe
def _pop_frame_and_push_result(self, result):
# Pop the top frame from the interpreter frame stack and compute the
# number of arguments
......
......@@ -62,6 +62,7 @@ class Frame(Array):
# Return the found context
return frame
@jit.unroll_safe
def get_outer_context(self, nilObject):
# Compute the outer context of this frame
frame = self
......
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